mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.44 Rename NS_POINTER_ENTER to ePointerEnter r=smaug
This commit is contained in:
parent
8573b1888d
commit
d9f9d54b87
@ -335,7 +335,7 @@ EVENT(pointerout,
|
||||
EventNameType_All,
|
||||
ePointerEventClass)
|
||||
EVENT(pointerenter,
|
||||
NS_POINTER_ENTER,
|
||||
ePointerEnter,
|
||||
EventNameType_All,
|
||||
ePointerEventClass)
|
||||
EVENT(pointerleave,
|
||||
|
@ -3872,8 +3872,7 @@ public:
|
||||
|
||||
~EnterLeaveDispatcher()
|
||||
{
|
||||
if (mEventMessage == eMouseEnter ||
|
||||
mEventMessage == NS_POINTER_ENTER) {
|
||||
if (mEventMessage == eMouseEnter || mEventMessage == ePointerEnter) {
|
||||
for (int32_t i = mTargets.Count() - 1; i >= 0; --i) {
|
||||
mESM->DispatchMouseOrPointerEvent(mMouseEvent, mEventMessage,
|
||||
mTargets[i], mRelatedTarget);
|
||||
@ -4010,7 +4009,7 @@ EventStateManager::NotifyMouseOver(WidgetMouseEvent* aMouseEvent,
|
||||
Maybe<EnterLeaveDispatcher> enterDispatcher;
|
||||
if (dispatch) {
|
||||
enterDispatcher.emplace(this, aContent, lastOverElement, aMouseEvent,
|
||||
isPointer ? NS_POINTER_ENTER : eMouseEnter);
|
||||
isPointer ? ePointerEnter : eMouseEnter);
|
||||
}
|
||||
|
||||
NotifyMouseOut(aMouseEvent, aContent);
|
||||
|
@ -69,7 +69,7 @@ NS_EVENT_MESSAGE(NS_POINTER_UP, ePointerEventFirst + 1)
|
||||
NS_EVENT_MESSAGE(NS_POINTER_DOWN, ePointerEventFirst + 2)
|
||||
NS_EVENT_MESSAGE(NS_POINTER_OVER, ePointerEventFirst + 22)
|
||||
NS_EVENT_MESSAGE(NS_POINTER_OUT, ePointerEventFirst + 23)
|
||||
NS_EVENT_MESSAGE(NS_POINTER_ENTER, ePointerEventFirst + 24)
|
||||
NS_EVENT_MESSAGE(ePointerEnter, ePointerEventFirst + 24)
|
||||
NS_EVENT_MESSAGE(ePointerLeave, ePointerEventFirst + 25)
|
||||
NS_EVENT_MESSAGE(ePointerCancel, ePointerEventFirst + 26)
|
||||
NS_EVENT_MESSAGE(ePointerGotCapture, ePointerEventFirst + 27)
|
||||
|
@ -625,7 +625,7 @@ public:
|
||||
void UpdateFlags()
|
||||
{
|
||||
switch (mMessage) {
|
||||
case NS_POINTER_ENTER:
|
||||
case ePointerEnter:
|
||||
case ePointerLeave:
|
||||
mFlags.mBubbles = false;
|
||||
mFlags.mCancelable = false;
|
||||
|
Loading…
Reference in New Issue
Block a user