Public Member Functions

nsIDragDropHandler Interface Reference

Interface for communicating with the built-in drag and drop implementation in the content area. More...

import "nsIDragDropHandler.idl";

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

Interface for communicating with the built-in drag and drop implementation in the content area.

Status:
UNDER_REVIEW Use this to register where the listeners should attach (something that implements |nsPIDOMEventTarget| which is what we end up using under the hood).

Member Function Documentation

void nsIDragDropHandler::detach (  ) 

Unregister all handlers related to drag&drop.

void nsIDragDropHandler::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.

Parameters:
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.

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