зеркало из https://github.com/mozilla/gecko-dev.git
Modifications to event listener interfaces.
This commit is contained in:
Родитель
5ca1fc75a7
Коммит
32e4f28196
|
@ -41,14 +41,14 @@ public:
|
|||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult DragStart(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult DragStart(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a drag ending event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult DragDrop(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult DragDrop(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ public:
|
|||
|
||||
NS_IMETHOD GetType(nsString& aType) = 0;
|
||||
|
||||
NS_IMETHOD GetTarget(nsIDOMNode*& aTarget) = 0;
|
||||
NS_IMETHOD GetTarget(nsIDOMNode** aTarget) = 0;
|
||||
|
||||
NS_IMETHOD GetScreenX(PRInt32& aX) = 0;
|
||||
NS_IMETHOD GetScreenY(PRInt32& aY) = 0;
|
||||
|
|
|
@ -40,7 +40,7 @@ public:
|
|||
* @param anEvent the event to process. @see nsIDOMEvent.h for event types.
|
||||
*/
|
||||
|
||||
virtual nsresult ProcessEvent(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult ProcessEvent(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -41,14 +41,14 @@ public:
|
|||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult Focus(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult Focus(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a blur event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult Blur(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult Blur(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -41,14 +41,14 @@ public:
|
|||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult Load(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult Load(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a page unload event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult Unload(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult Unload(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a load abort event
|
||||
|
@ -56,14 +56,14 @@ public:
|
|||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*
|
||||
*/
|
||||
virtual nsresult Abort(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult Abort(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes an load error event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult Error(const nsIDOMEvent* aEvent) = 0;
|
||||
virtual nsresult Error(nsIDOMEvent* aEvent) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -41,14 +41,14 @@ public:
|
|||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult MouseDown(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseDown(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a mouse up event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult MouseUp(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseUp(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a mouse click event
|
||||
|
@ -56,7 +56,7 @@ public:
|
|||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*
|
||||
*/
|
||||
virtual nsresult MouseClick(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseClick(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a mouse click event
|
||||
|
@ -64,21 +64,21 @@ public:
|
|||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*
|
||||
*/
|
||||
virtual nsresult MouseDblClick(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseDblClick(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a mouse enter event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult MouseOver(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseOver(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a mouse leave event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult MouseOut(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseOut(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -41,14 +41,14 @@ public:
|
|||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult MouseMove(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult MouseMove(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
/**
|
||||
* Processes a drag move event
|
||||
* @param aMouseEvent @see nsIDOMEvent.h
|
||||
* @returns whether the event was consumed or ignored. @see nsresult
|
||||
*/
|
||||
virtual nsresult DragMove(const nsIDOMEvent* aMouseEvent) = 0;
|
||||
virtual nsresult DragMove(nsIDOMEvent* aMouseEvent) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче