nsIDragDropHandler
is an interface for communicating with the built-in drag and drop implementation in the content area. Use this to register where the listeners should attach (something that implements nsPIDOMEventTarget
which is what we end up using under the hood).
Inherits from: nsISupports
void detach(); |
void hookupTo(in nsIDOMEventTarget attachPoint, in nsIWebNavigation navigator); |
Unregisters all handlers related to drag and drop.
void detach();
None.
Attaches drag handlers to a specified receiver, setting up callbacks to let built-in behaviors be overridden.
void hookupTo( in nsIDOMEventTarget attachPoint, in nsIWebNavigation navigator );
attachPoint
navigator
nsIWebNavigation
object to handle the dropped URLs. If this is NULL
, the client must handle the drop itself, either through the method provided via overrideDrop()
or by letting the event bubble up through the DOM.