Bug 895274 part.222 Rename NS_AFTERPRINT to eAfterPrint r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Sat, 12 Sep 2015 01:19:28 +0900
changeset 294663 9e042218bfc012c30a5a4e9d6af7e2a9436f5545
parent 294662 9a88876e7fa52992538cd45f702e8dfffa60b2ad
child 294664 39fcfeae16fa617b6ed899e44cfaf77c83ebd362
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.222 Rename NS_AFTERPRINT to eAfterPrint r=smaug
dom/events/EventNameList.h
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -464,17 +464,17 @@ FORWARDED_EVENT(resize,
                 EventNameType_All,
                 eBasicEventClass)
 FORWARDED_EVENT(scroll,
                 eScroll,
                 (EventNameType_HTMLXUL | EventNameType_SVGSVG),
                 eBasicEventClass)
 
 WINDOW_EVENT(afterprint,
-             NS_AFTERPRINT,
+             eAfterPrint,
              EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
              eBasicEventClass)
 WINDOW_EVENT(beforeprint,
              eBeforePrint,
              EventNameType_XUL | EventNameType_HTMLBodyOrFramesetOnly,
              eBasicEventClass)
 BEFOREUNLOAD_EVENT(beforeunload,
                    eBeforeUnload,
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -340,17 +340,17 @@ NS_EVENT_MESSAGE(NS_AUDIO_COMPLETE,     
 
 // script notification events
 NS_EVENT_MESSAGE(eScriptEventFirst,     4500)
 NS_EVENT_MESSAGE(eBeforeScriptExecute,  eScriptEventFirst)
 NS_EVENT_MESSAGE(eAfterScriptExecute,   eScriptEventFirst + 1)
 
 NS_EVENT_MESSAGE(ePrintEventFirst,      4600)
 NS_EVENT_MESSAGE(eBeforePrint,          ePrintEventFirst)
-NS_EVENT_MESSAGE(NS_AFTERPRINT,         ePrintEventFirst + 1)
+NS_EVENT_MESSAGE(eAfterPrint,           ePrintEventFirst + 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(eOpen,                 eOpenCloseEventFirst)