Bug 895274 part.269 Rename NS_SIMPLE_GESTURE_EVENT_START to eSimpleGestureEventFirst r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 15 Sep 2015 00:14:38 +0900
changeset 296677 e69d4cf68a8729310ca15166fc3d8f0951753430
parent 296676 f2efb808b885285d98a7453a8b17b3878260ab9c
child 296678 b3f5c61b22ee65a236d04bdbbc4a3aa71c34435c
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs895274
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 895274 part.269 Rename NS_SIMPLE_GESTURE_EVENT_START to eSimpleGestureEventFirst r=smaug
widget/EventMessageList.h
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -266,33 +266,33 @@ NS_EVENT_MESSAGE(eRateChange,           
 NS_EVENT_MESSAGE(eDurationChange,       eMediaEventFirst + 18)
 NS_EVENT_MESSAGE(eVolumeChange,         eMediaEventFirst + 19)
 
 // paint notification events
 NS_EVENT_MESSAGE(ePaintEventFirst,      3400)
 NS_EVENT_MESSAGE(eAfterPaint,           ePaintEventFirst)
 
 // Simple gesture events
-NS_EVENT_MESSAGE(NS_SIMPLE_GESTURE_EVENT_START,    3500)
-NS_EVENT_MESSAGE(eSwipeGestureMayStart, NS_SIMPLE_GESTURE_EVENT_START)
-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)
-NS_EVENT_MESSAGE(eMagnifyGestureStart,  NS_SIMPLE_GESTURE_EVENT_START + 5)
-NS_EVENT_MESSAGE(eMagnifyGestureUpdate, NS_SIMPLE_GESTURE_EVENT_START + 6)
-NS_EVENT_MESSAGE(eMagnifyGesture,       NS_SIMPLE_GESTURE_EVENT_START + 7)
-NS_EVENT_MESSAGE(eRotateGestureStart,   NS_SIMPLE_GESTURE_EVENT_START + 8)
-NS_EVENT_MESSAGE(eRotateGestureUpdate,  NS_SIMPLE_GESTURE_EVENT_START + 9)
-NS_EVENT_MESSAGE(eRotateGesture,        NS_SIMPLE_GESTURE_EVENT_START + 10)
-NS_EVENT_MESSAGE(eTapGesture,           NS_SIMPLE_GESTURE_EVENT_START + 11)
-NS_EVENT_MESSAGE(ePressTapGesture,      NS_SIMPLE_GESTURE_EVENT_START + 12)
-NS_EVENT_MESSAGE(eEdgeUIStarted,        NS_SIMPLE_GESTURE_EVENT_START + 13)
-NS_EVENT_MESSAGE(eEdgeUICanceled,       NS_SIMPLE_GESTURE_EVENT_START + 14)
-NS_EVENT_MESSAGE(eEdgeUICompleted,      NS_SIMPLE_GESTURE_EVENT_START + 15)
+NS_EVENT_MESSAGE(eSimpleGestureEventFirst, 3500)
+NS_EVENT_MESSAGE(eSwipeGestureMayStart,    eSimpleGestureEventFirst)
+NS_EVENT_MESSAGE(eSwipeGestureStart,       eSimpleGestureEventFirst + 1)
+NS_EVENT_MESSAGE(eSwipeGestureUpdate,      eSimpleGestureEventFirst + 2)
+NS_EVENT_MESSAGE(eSwipeGestureEnd,         eSimpleGestureEventFirst + 3)
+NS_EVENT_MESSAGE(eSwipeGesture,            eSimpleGestureEventFirst + 4)
+NS_EVENT_MESSAGE(eMagnifyGestureStart,     eSimpleGestureEventFirst + 5)
+NS_EVENT_MESSAGE(eMagnifyGestureUpdate,    eSimpleGestureEventFirst + 6)
+NS_EVENT_MESSAGE(eMagnifyGesture,          eSimpleGestureEventFirst + 7)
+NS_EVENT_MESSAGE(eRotateGestureStart,      eSimpleGestureEventFirst + 8)
+NS_EVENT_MESSAGE(eRotateGestureUpdate,     eSimpleGestureEventFirst + 9)
+NS_EVENT_MESSAGE(eRotateGesture,           eSimpleGestureEventFirst + 10)
+NS_EVENT_MESSAGE(eTapGesture,              eSimpleGestureEventFirst + 11)
+NS_EVENT_MESSAGE(ePressTapGesture,         eSimpleGestureEventFirst + 12)
+NS_EVENT_MESSAGE(eEdgeUIStarted,           eSimpleGestureEventFirst + 13)
+NS_EVENT_MESSAGE(eEdgeUICanceled,          eSimpleGestureEventFirst + 14)
+NS_EVENT_MESSAGE(eEdgeUICompleted,         eSimpleGestureEventFirst + 15)
 
 // These are used to send native events to plugins.
 NS_EVENT_MESSAGE(ePluginEventFirst,     3600)
 NS_EVENT_MESSAGE(ePluginInputEvent,     ePluginEventFirst)
 
 // Events to manipulate selection (WidgetSelectionEvent)
 NS_EVENT_MESSAGE(eSelectionEventFirst,  3700)
 // Clear any previous selection and set the given range as the selection