Bug 895274 part.175 Rename NS_BEFORE_SCRIPT_EXECUTE to eBeforeScriptExecute r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 11 Sep 2015 01:59:53 +0900
changeset 294424 5c2c1630198490f1a30a87070cfca75e3d24de0f
parent 294423 96ec3affa3d526bf405cfb33172142415e757da9
child 294425 3d7a664c70d720cdda6723782f883478f9209f59
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.175 Rename NS_BEFORE_SCRIPT_EXECUTE to eBeforeScriptExecute r=smaug
dom/events/EventNameList.h
widget/EventMessageList.h
widget/nsBaseWidget.cpp
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -430,17 +430,17 @@ EVENT(cut,
       EventNameType_HTMLXUL,
       eClipboardEventClass)
 EVENT(paste,
       ePaste,
       EventNameType_HTMLXUL,
       eClipboardEventClass)
 // Gecko-specific extensions that apply to elements
 EVENT(beforescriptexecute,
-      NS_BEFORE_SCRIPT_EXECUTE,
+      eBeforeScriptExecute,
       EventNameType_HTMLXUL,
       eBasicEventClass)
 EVENT(afterscriptexecute,
       NS_AFTER_SCRIPT_EXECUTE,
       EventNameType_HTMLXUL,
       eBasicEventClass)
 
 FORWARDED_EVENT(blur,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -336,18 +336,18 @@ NS_EVENT_MESSAGE(NS_SMIL_BEGIN,         
 NS_EVENT_MESSAGE(NS_SMIL_END,           NS_SMIL_TIME_EVENT_START + 1)
 NS_EVENT_MESSAGE(NS_SMIL_REPEAT,        NS_SMIL_TIME_EVENT_START + 2)
 
 NS_EVENT_MESSAGE(NS_WEBAUDIO_EVENT_START, 4350)
 NS_EVENT_MESSAGE(NS_AUDIO_PROCESS,      NS_WEBAUDIO_EVENT_START)
 NS_EVENT_MESSAGE(NS_AUDIO_COMPLETE,     NS_WEBAUDIO_EVENT_START + 1)
 
 // script notification events
-NS_EVENT_MESSAGE(eScriptEventFirst,        4500)
-NS_EVENT_MESSAGE(NS_BEFORE_SCRIPT_EXECUTE, eScriptEventFirst)
+NS_EVENT_MESSAGE(eScriptEventFirst,     4500)
+NS_EVENT_MESSAGE(eBeforeScriptExecute,  eScriptEventFirst)
 NS_EVENT_MESSAGE(NS_AFTER_SCRIPT_EXECUTE,  eScriptEventFirst + 1)
 
 NS_EVENT_MESSAGE(NS_PRINT_EVENT_START,  4600)
 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)
--- a/widget/nsBaseWidget.cpp
+++ b/widget/nsBaseWidget.cpp
@@ -2652,17 +2652,17 @@ case _value: eventName.AssignLiteral(_na
     _ASSIGN_eventName(eMouseExitFromWidget,"eMouseExitFromWidget");
     _ASSIGN_eventName(eMouseDown,"eMouseDown");
     _ASSIGN_eventName(eMouseUp,"eMouseUp");
     _ASSIGN_eventName(eMouseClick,"eMouseClick");
     _ASSIGN_eventName(eMouseDoubleClick,"eMouseDoubleClick");
     _ASSIGN_eventName(eMouseMove,"eMouseMove");
     _ASSIGN_eventName(eLoad,"eLoad");
     _ASSIGN_eventName(ePopState,"ePopState");
-    _ASSIGN_eventName(NS_BEFORE_SCRIPT_EXECUTE,"NS_BEFORE_SCRIPT_EXECUTE");
+    _ASSIGN_eventName(eBeforeScriptExecute,"eBeforeScriptExecute");
     _ASSIGN_eventName(NS_AFTER_SCRIPT_EXECUTE,"NS_AFTER_SCRIPT_EXECUTE");
     _ASSIGN_eventName(eUnload,"eUnload");
     _ASSIGN_eventName(eHashChange,"eHashChange");
     _ASSIGN_eventName(eReadyStateChange,"eReadyStateChange");
     _ASSIGN_eventName(eXULBroadcast, "eXULBroadcast");
     _ASSIGN_eventName(eXULCommandUpdate, "eXULCommandUpdate");
 
 #undef _ASSIGN_eventName