Back to index
|void||hookupTo (in nsIDOMEventTarget attachPoint, in nsIWebNavigation navigator)|
|Attach drag handlers to receiver specified by |attachPoint| and specify callbacks to allow overriding of the built-in behaviors. |
|Unregister all handlers related to drag&drop. |
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 |nsIDOMEventReceiver| which is what we end up using under the hood).
|void nsIDragDropHandler::hookupTo||(||in nsIDOMEventTarget||attachPoint,|
Attach drag handlers to receiver specified by |attachPoint| and specify callbacks to allow overriding of the built-in behaviors.
|attachPoint||hookup listeners to this location|
|navigator||loads dropped urls via this interface. If 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.|