Bug 895274 part.178 Rename NS_OPEN to eOpen r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 11 Sep 2015 01:59:54 +0900
changeset 296132 df160a23a95d4bdc8bcd22de1f4c8b456389cec6
parent 296131 ec706e1895448231322775bc3fc79dc90ef3e8df
child 296133 bceba97d9bf2f51f08b3502d1adb4e9ae501528e
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.178 Rename NS_OPEN to eOpen r=smaug
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -637,17 +637,17 @@ NON_IDL_EVENT(DOMMouseScroll,
               EventNameType_HTMLXUL,
               eMouseScrollEventClass)
 NON_IDL_EVENT(MozMousePixelScroll,
               eLegacyMousePixelScroll,
               EventNameType_HTMLXUL,
               eMouseScrollEventClass)
                                                 
 NON_IDL_EVENT(open,
-              NS_OPEN,
+              eOpen,
               EventNameType_None,
               eBasicEventClass)
 
 NON_IDL_EVENT(dataavailable,
               NS_MEDIARECORDER_DATAAVAILABLE,
               EventNameType_None,
               eBasicEventClass)
 
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -349,17 +349,17 @@ NS_EVENT_MESSAGE(NS_PRINT_EVENT_START,  
 NS_EVENT_MESSAGE(NS_BEFOREPRINT,        NS_PRINT_EVENT_START)
 NS_EVENT_MESSAGE(NS_AFTERPRINT,         NS_PRINT_EVENT_START + 1)
 
 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(NS_OPEN,               eOpenCloseEventFirst)
+NS_EVENT_MESSAGE(eOpen,                 eOpenCloseEventFirst)
 NS_EVENT_MESSAGE(NS_CLOSE,              eOpenCloseEventFirst + 1)
 
 // 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)