summaryrefslogtreecommitdiff
path: root/system/docshell/base/nsDocShellTransferableHooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/docshell/base/nsDocShellTransferableHooks.h')
-rw-r--r--system/docshell/base/nsDocShellTransferableHooks.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/system/docshell/base/nsDocShellTransferableHooks.h b/system/docshell/base/nsDocShellTransferableHooks.h
new file mode 100644
index 000000000..daca519d5
--- /dev/null
+++ b/system/docshell/base/nsDocShellTransferableHooks.h
@@ -0,0 +1,27 @@
+/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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 nsDocShellTransferableHooks_h__
+#define nsDocShellTransferableHooks_h__
+
+#include "nsIClipboardDragDropHookList.h"
+#include "nsCOMArray.h"
+
+class nsIClipboardDragDropHooks;
+
+class nsTransferableHookData : public nsIClipboardDragDropHookList
+{
+public:
+ nsTransferableHookData();
+ NS_DECL_ISUPPORTS
+ NS_DECL_NSICLIPBOARDDRAGDROPHOOKLIST
+
+protected:
+ virtual ~nsTransferableHookData();
+
+ nsCOMArray<nsIClipboardDragDropHooks> mHookList;
+};
+
+#endif // nsDocShellTransferableHooks_h__