Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDragDropHandler Interface Reference

UNDER_REVIEW More...

import "nsIDragDropHandler.idl";

Inheritance diagram for nsIDragDropHandler:
Inheritance graph
[legend]
Collaboration diagram for nsIDragDropHandler:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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.
void detach ()
 Unregister all handlers related to drag&drop.

Detailed Description

UNDER_REVIEW

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).

Definition at line 56 of file nsIDragDropHandler.idl.


Member Function Documentation

Unregister all handlers related to drag&drop.

Attach drag handlers to receiver specified by |attachPoint| and specify callbacks to allow overriding of the built-in behaviors.

Parameters:
attachPointhookup listeners to this location
navigatorloads 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.

The documentation for this interface was generated from the following file: