Bug 895274 part.203 Rename NS_GAMEPAD_AXISMOVE to eGamepadAxisMove r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 11 Sep 2015 21:21:28 +0900
changeset 294619 79473dc0e450ac3cfcb7ee139472d4a1e26ac067
parent 294618 4f954399289d7fca37fe5d466dcdc4e774ccbfde
child 294620 848f9fe24f1cb34e3b933efd48c7bd2b435fd42e
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.203 Rename NS_GAMEPAD_AXISMOVE to eGamepadAxisMove r=smaug
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -820,17 +820,17 @@ NON_IDL_EVENT(gamepadbuttondown,
               eGamepadButtonDown,
               EventNameType_None,
               eBasicEventClass)
 NON_IDL_EVENT(gamepadbuttonup,
               eGamepadButtonUp,
               EventNameType_None,
               eBasicEventClass)
 NON_IDL_EVENT(gamepadaxismove,
-              NS_GAMEPAD_AXISMOVE,
+              eGamepadAxisMove,
               EventNameType_None,
               eBasicEventClass)
 NON_IDL_EVENT(gamepadconnected,
               eGamepadConnected,
               EventNameType_None,
               eBasicEventClass)
 NON_IDL_EVENT(gamepaddisconnected,
               eGamepadDisconnected,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -412,17 +412,17 @@ NS_EVENT_MESSAGE(NS_MEDIARECORDER_STOP, 
 NS_EVENT_MESSAGE(NS_SPEAKERMANAGER_EVENT_START, 5800)
 NS_EVENT_MESSAGE(NS_SPEAKERMANAGER_SPEAKERFORCEDCHANGE, NS_SPEAKERMANAGER_EVENT_START + 1)
 
 #ifdef MOZ_GAMEPAD
 // Gamepad input events
 NS_EVENT_MESSAGE(NS_GAMEPAD_START,        6000)
 NS_EVENT_MESSAGE(eGamepadButtonDown,     NS_GAMEPAD_START)
 NS_EVENT_MESSAGE(eGamepadButtonUp,       NS_GAMEPAD_START + 1)
-NS_EVENT_MESSAGE(NS_GAMEPAD_AXISMOVE,     NS_GAMEPAD_START + 2)
+NS_EVENT_MESSAGE(eGamepadAxisMove,       NS_GAMEPAD_START + 2)
 NS_EVENT_MESSAGE(eGamepadConnected,      NS_GAMEPAD_START + 3)
 NS_EVENT_MESSAGE(eGamepadDisconnected,   NS_GAMEPAD_START + 4)
 // Keep this defined to the same value as the event above
 NS_EVENT_MESSAGE(NS_GAMEPAD_END,          NS_GAMEPAD_START + 4)
 #endif
 
 // input and beforeinput events.
 NS_EVENT_MESSAGE(NS_EDITOR_EVENT_START,   6100)