mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.37 Rename NS_MOUSELEAVE to eMouseLeave r=smaug
This commit is contained in:
parent
fbe0cb45f2
commit
7a413f4e8c
@ -275,7 +275,7 @@ EVENT(mouseenter,
|
||||
EventNameType_All,
|
||||
eMouseEventClass)
|
||||
EVENT(mouseleave,
|
||||
NS_MOUSELEAVE,
|
||||
eMouseLeave,
|
||||
EventNameType_All,
|
||||
eMouseEventClass)
|
||||
EVENT(mousemove,
|
||||
|
@ -3741,7 +3741,7 @@ EventStateManager::DispatchMouseOrPointerEvent(WidgetMouseEvent* aMouseEvent,
|
||||
// "[When the mouse is locked on an element...e]vents that require the concept
|
||||
// of a mouse cursor must not be dispatched (for example: mouseover, mouseout).
|
||||
if (sIsPointerLocked &&
|
||||
(aMessage == NS_MOUSELEAVE ||
|
||||
(aMessage == eMouseLeave ||
|
||||
aMessage == eMouseEnter ||
|
||||
aMessage == eMouseOver ||
|
||||
aMessage == eMouseOut)) {
|
||||
@ -3932,7 +3932,7 @@ EventStateManager::NotifyMouseOut(WidgetMouseEvent* aMouseEvent,
|
||||
|
||||
EnterLeaveDispatcher leaveDispatcher(this, wrapper->mLastOverElement,
|
||||
movingInto, aMouseEvent,
|
||||
isPointer ? NS_POINTER_LEAVE : NS_MOUSELEAVE);
|
||||
isPointer ? NS_POINTER_LEAVE : eMouseLeave);
|
||||
|
||||
// Fire mouseout
|
||||
DispatchMouseOrPointerEvent(aMouseEvent, isPointer ? NS_POINTER_OUT : eMouseOut,
|
||||
|
@ -59,7 +59,7 @@ NS_EVENT_MESSAGE(eMouseOver, eMouseEventFirst + 31)
|
||||
NS_EVENT_MESSAGE(eMouseOut, eMouseEventFirst + 32)
|
||||
NS_EVENT_MESSAGE(eMouseHitTest, eMouseEventFirst + 33)
|
||||
NS_EVENT_MESSAGE(eMouseEnter, eMouseEventFirst + 34)
|
||||
NS_EVENT_MESSAGE(NS_MOUSELEAVE, eMouseEventFirst + 35)
|
||||
NS_EVENT_MESSAGE(eMouseLeave, eMouseEventFirst + 35)
|
||||
NS_EVENT_MESSAGE(NS_MOUSE_MOZLONGTAP, eMouseEventFirst + 36)
|
||||
|
||||
// Pointer spec events
|
||||
|
@ -205,7 +205,7 @@ protected:
|
||||
{
|
||||
switch (aMessage) {
|
||||
case eMouseEnter:
|
||||
case NS_MOUSELEAVE:
|
||||
case eMouseLeave:
|
||||
mFlags.mBubbles = false;
|
||||
mFlags.mCancelable = false;
|
||||
break;
|
||||
@ -225,7 +225,7 @@ public:
|
||||
{
|
||||
switch (aMessage) {
|
||||
case eMouseEnter:
|
||||
case NS_MOUSELEAVE:
|
||||
case eMouseLeave:
|
||||
mFlags.mBubbles = false;
|
||||
mFlags.mCancelable = false;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user