Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / widget / nsIClipboardDragDropHookList.idl
blob1f6231b827045350a103653dc3d64a9b851fa526
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
7 interface nsIClipboardDragDropHooks;
8 interface nsISimpleEnumerator;
11 /**
12 * Please note that the following api is not intended for embedders;
13 * it is intended as an internal (to gecko). Embedders can indirectly
14 * call these by sending commands (see description in
15 * nsIClipboardDragDropHooks.idl).
17 * Internal gecko usage is accomplished by calling get_Interface on a
18 * docshell.
22 // 876A2015-6B66-11D7-8F18-0003938A9D96
23 [scriptable,uuid(876A2015-6B66-11D7-8F18-0003938A9D96)]
24 interface nsIClipboardDragDropHookList : nsISupports
26 /**
27 * Add a hook to list.
28 * @param aHooks implementation of hooks
30 void addClipboardDragDropHooks(in nsIClipboardDragDropHooks aHooks);
32 /**
33 * Remove a hook from list (note if this implementation is not present
34 * in the list then removal will be ignored).
35 * @param aHooks implementation of hooks
37 void removeClipboardDragDropHooks(in nsIClipboardDragDropHooks aHooks);
39 /**
40 * Gets an enumerator for all hooks which have been added.
41 * @return nsISimpleEnumerator for nsIClipboardDragDropHooks
43 nsISimpleEnumerator getHookEnumerator();