mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 895274 part.254 Rename NS_SIMPLE_GESTURE_EDGE_CANCELED to eEdgeUICanceled r=smaug
This commit is contained in:
parent
289610ac62
commit
68eef1b333
@ -1324,9 +1324,9 @@ nsDOMWindowUtils::SendSimpleGestureEvent(const nsAString& aType,
|
||||
msg = NS_SIMPLE_GESTURE_PRESSTAP;
|
||||
else if (aType.EqualsLiteral("MozEdgeUIStarted"))
|
||||
msg = NS_SIMPLE_GESTURE_EDGE_STARTED;
|
||||
else if (aType.EqualsLiteral("MozEdgeUICanceled"))
|
||||
msg = NS_SIMPLE_GESTURE_EDGE_CANCELED;
|
||||
else if (aType.EqualsLiteral("MozEdgeUICompleted")) {
|
||||
else if (aType.EqualsLiteral("MozEdgeUICanceled")) {
|
||||
msg = eEdgeUICanceled;
|
||||
} else if (aType.EqualsLiteral("MozEdgeUICompleted")) {
|
||||
msg = eEdgeUICompleted;
|
||||
} else {
|
||||
return NS_ERROR_FAILURE;
|
||||
|
@ -904,7 +904,7 @@ NON_IDL_EVENT(MozEdgeUIStarted,
|
||||
EventNameType_None,
|
||||
eSimpleGestureEventClass)
|
||||
NON_IDL_EVENT(MozEdgeUICanceled,
|
||||
NS_SIMPLE_GESTURE_EDGE_CANCELED,
|
||||
eEdgeUICanceled,
|
||||
EventNameType_None,
|
||||
eSimpleGestureEventClass)
|
||||
NON_IDL_EVENT(MozEdgeUICompleted,
|
||||
|
@ -286,7 +286,7 @@ NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_ROTATE, NS_SIMPLE_GESTURE_EVENT_START
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_TAP, NS_SIMPLE_GESTURE_EVENT_START + 11)
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_PRESSTAP, NS_SIMPLE_GESTURE_EVENT_START + 12)
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_EDGE_STARTED, NS_SIMPLE_GESTURE_EVENT_START + 13)
|
||||
NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_EDGE_CANCELED, NS_SIMPLE_GESTURE_EVENT_START + 14)
|
||||
NS_EVENT_MESSAGE(eEdgeUICanceled, NS_SIMPLE_GESTURE_EVENT_START + 14)
|
||||
NS_EVENT_MESSAGE(eEdgeUICompleted, NS_SIMPLE_GESTURE_EVENT_START + 15)
|
||||
|
||||
// These are used to send native events to plugins.
|
||||
|
Loading…
Reference in New Issue
Block a user