Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIDOMContextMenuListener Class Reference

#include <nsIDOMContextMenuListener.h>

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

List of all members.

Public Member Functions

NS_IMETHOD ContextMenu (nsIDOMEvent *aContextMenuEvent)=0
 Processes a context menu event.
void handleEvent (in nsIDOMEvent event)
 This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Detailed Description

Definition at line 54 of file nsIDOMContextMenuListener.h.


Member Function Documentation

NS_IMETHOD nsIDOMContextMenuListener::ContextMenu ( nsIDOMEvent aContextMenuEvent) [pure virtual]

Processes a context menu event.

Parameters:
aContextMenuEvent
See also:
nsIDOMEvent.h
Returns:
whether the event was consumed or ignored.
See also:
nsresult

Implemented in ChromeContextMenuListener, nsPluginDOMContextMenuListener, XULPopupListenerImpl, and nsFormFillController.

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Parameters:
evtThe Event contains contextual information about the event. It also contains the stopPropagation and preventDefault methods which are used in determining the event's flow and default action.

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