mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.267 Rename NS_SIMPLE_GESTURE_SWIPE_START to eSwipeGestureStart r=smaug
This commit is contained in:
parent
fcbb201e80
commit
61ff225c56
@ -1298,9 +1298,9 @@ nsDOMWindowUtils::SendSimpleGestureEvent(const nsAString& aType,
|
||||
EventMessage msg;
|
||||
if (aType.EqualsLiteral("MozSwipeGestureMayStart"))
|
||||
msg = NS_SIMPLE_GESTURE_SWIPE_MAY_START;
|
||||
else if (aType.EqualsLiteral("MozSwipeGestureStart"))
|
||||
msg = NS_SIMPLE_GESTURE_SWIPE_START;
|
||||
else if (aType.EqualsLiteral("MozSwipeGestureUpdate")) {
|
||||
else if (aType.EqualsLiteral("MozSwipeGestureStart")) {
|
||||
msg = eSwipeGestureStart;
|
||||
} else if (aType.EqualsLiteral("MozSwipeGestureUpdate")) {
|
||||
msg = eSwipeGestureUpdate;
|
||||
} else if (aType.EqualsLiteral("MozSwipeGestureEnd")) {
|
||||
msg = eSwipeGestureEnd;
|
||||
|
@ -852,7 +852,7 @@ NON_IDL_EVENT(MozSwipeGestureMayStart,
|
||||
EventNameType_None,
|
||||
eSimpleGestureEventClass)
|
||||
NON_IDL_EVENT(MozSwipeGestureStart,
|
||||
NS_SIMPLE_GESTURE_SWIPE_START,
|
||||
eSwipeGestureStart,
|
||||
EventNameType_None,
|
||||
eSimpleGestureEventClass)
|
||||
NON_IDL_EVENT(MozSwipeGestureUpdate,
|
||||
|
@ -273,7 +273,7 @@ NS_EVENT_MESSAGE(eAfterPaint, ePaintEventFirst)
|
||||
// Simple gesture events
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_EVENT_START, 3500)
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_SWIPE_MAY_START,NS_SIMPLE_GESTURE_EVENT_START)
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_SWIPE_START, NS_SIMPLE_GESTURE_EVENT_START + 1)
|
||||
NS_EVENT_MESSAGE(eSwipeGestureStart, NS_SIMPLE_GESTURE_EVENT_START + 1)
|
||||
NS_EVENT_MESSAGE(eSwipeGestureUpdate, NS_SIMPLE_GESTURE_EVENT_START + 2)
|
||||
NS_EVENT_MESSAGE(eSwipeGestureEnd, NS_SIMPLE_GESTURE_EVENT_START + 3)
|
||||
NS_EVENT_MESSAGE(eSwipeGesture, NS_SIMPLE_GESTURE_EVENT_START + 4)
|
||||
|
@ -51,7 +51,7 @@ SwipeTracker::SwipeTracker(nsChildView& aWidget,
|
||||
, mEventsHaveStartedNewGesture(false)
|
||||
, mRegisteredWithRefreshDriver(false)
|
||||
{
|
||||
SendSwipeEvent(NS_SIMPLE_GESTURE_SWIPE_START, 0, 0.0);
|
||||
SendSwipeEvent(eSwipeGestureStart, 0, 0.0);
|
||||
ProcessEvent(aSwipeStartEvent);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user