summaryrefslogtreecommitdiff
path: root/widget/nsDragServiceProxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/nsDragServiceProxy.h')
-rw-r--r--widget/nsDragServiceProxy.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/widget/nsDragServiceProxy.h b/widget/nsDragServiceProxy.h
new file mode 100644
index 0000000000..fcde3d25de
--- /dev/null
+++ b/widget/nsDragServiceProxy.h
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef NSDRAGSERVICEPROXY_H
+#define NSDRAGSERVICEPROXY_H
+
+#include "nsBaseDragService.h"
+
+class nsDragServiceProxy : public nsBaseDragService
+{
+public:
+ nsDragServiceProxy();
+
+ NS_DECL_ISUPPORTS_INHERITED
+
+ // nsBaseDragService
+ virtual nsresult InvokeDragSessionImpl(nsIArray* anArrayTransferables,
+ nsIScriptableRegion* aRegion,
+ uint32_t aActionType) override;
+private:
+ virtual ~nsDragServiceProxy();
+};
+
+#endif // NSDRAGSERVICEPROXY_H