Bug 895274 part.201 Rename NS_GAMEPAD_BUTTONDOWN to eGamepadButtonDown r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 11 Sep 2015 21:21:28 +0900
changeset 296322 622806dd51c5660777de964847fadf5514827eea
parent 296321 0cea2a2958ae8717491632e742059a4345f68398
child 296323 4f954399289d7fca37fe5d466dcdc4e774ccbfde
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.201 Rename NS_GAMEPAD_BUTTONDOWN to eGamepadButtonDown r=smaug
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -812,17 +812,17 @@ NON_IDL_EVENT(MozAfterPaint,
 
 NON_IDL_EVENT(MozScrolledAreaChanged,
               NS_SCROLLEDAREACHANGED,
               EventNameType_None,
               eScrollAreaEventClass)
 
 #ifdef MOZ_GAMEPAD
 NON_IDL_EVENT(gamepadbuttondown,
-              NS_GAMEPAD_BUTTONDOWN,
+              eGamepadButtonDown,
               EventNameType_None,
               eBasicEventClass)
 NON_IDL_EVENT(gamepadbuttonup,
               NS_GAMEPAD_BUTTONUP,
               EventNameType_None,
               eBasicEventClass)
 NON_IDL_EVENT(gamepadaxismove,
               NS_GAMEPAD_AXISMOVE,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -410,17 +410,17 @@ NS_EVENT_MESSAGE(NS_MEDIARECORDER_STOP, 
 
 // SpeakerManager events
 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(NS_GAMEPAD_BUTTONDOWN,   NS_GAMEPAD_START)
+NS_EVENT_MESSAGE(eGamepadButtonDown,     NS_GAMEPAD_START)
 NS_EVENT_MESSAGE(NS_GAMEPAD_BUTTONUP,     NS_GAMEPAD_START + 1)
 NS_EVENT_MESSAGE(NS_GAMEPAD_AXISMOVE,     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