Bug 895274 part.223 Rename NS_DEVICE_ORIENTATION_START to eDeviceEventFirst r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Sat, 12 Sep 2015 01:19:28 +0900
changeset 294664 39fcfeae16fa617b6ed899e44cfaf77c83ebd362
parent 294663 9e042218bfc012c30a5a4e9d6af7e2a9436f5545
child 294665 7a662a29591b5c55ba2469066f0f01ffd9c454d3
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [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.223 Rename NS_DEVICE_ORIENTATION_START to eDeviceEventFirst r=smaug
widget/EventMessageList.h
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -350,22 +350,22 @@ NS_EVENT_MESSAGE(eAfterPrint,           
 NS_EVENT_MESSAGE(NS_MESSAGE_EVENT_START, 4700)
 NS_EVENT_MESSAGE(NS_MESSAGE,            NS_MESSAGE_EVENT_START)
 
 // Open and close events
 NS_EVENT_MESSAGE(eOpenCloseEventFirst,  4800)
 NS_EVENT_MESSAGE(eOpen,                 eOpenCloseEventFirst)
 
 // Device motion and orientation
-NS_EVENT_MESSAGE(NS_DEVICE_ORIENTATION_START, 4900)
-NS_EVENT_MESSAGE(NS_DEVICE_ORIENTATION,  NS_DEVICE_ORIENTATION_START)
-NS_EVENT_MESSAGE(NS_DEVICE_MOTION,       NS_DEVICE_ORIENTATION_START + 1)
-NS_EVENT_MESSAGE(NS_DEVICE_PROXIMITY,    NS_DEVICE_ORIENTATION_START + 2)
-NS_EVENT_MESSAGE(NS_USER_PROXIMITY,      NS_DEVICE_ORIENTATION_START + 3)
-NS_EVENT_MESSAGE(NS_DEVICE_LIGHT,        NS_DEVICE_ORIENTATION_START + 4)
+NS_EVENT_MESSAGE(eDeviceEventFirst,      4900)
+NS_EVENT_MESSAGE(NS_DEVICE_ORIENTATION,  eDeviceEventFirst)
+NS_EVENT_MESSAGE(NS_DEVICE_MOTION,       eDeviceEventFirst + 1)
+NS_EVENT_MESSAGE(NS_DEVICE_PROXIMITY,    eDeviceEventFirst + 2)
+NS_EVENT_MESSAGE(NS_USER_PROXIMITY,      eDeviceEventFirst + 3)
+NS_EVENT_MESSAGE(NS_DEVICE_LIGHT,        eDeviceEventFirst + 4)
 
 NS_EVENT_MESSAGE(NS_SHOW_EVENT,          5000)
 
 // Fullscreen DOM API
 NS_EVENT_MESSAGE(eFullscreenEventFirst,  5100)
 NS_EVENT_MESSAGE(eFullscreenChange,      eFullscreenEventFirst)
 NS_EVENT_MESSAGE(eFullscreenError,       eFullscreenEventFirst + 1)