Bug 895274 part.86 Rename NS_XUL_EVENT_START to eXULEventFirst r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 04 Sep 2015 19:54:11 +0900
changeset 260827 e109ec7a6df6621a08bfe34e6e6c4e159bf2c8d4
parent 260826 ff3a5e493a9f2b894e82e2c07a7a29481a0de077
child 260828 c24765571791120685b21e7f5b8bc7dc625a1eae
push id64609
push usermasayuki@d-toybox.com
push dateFri, 04 Sep 2015 10:54:28 +0000
treeherdermozilla-inbound@0720ec889366 [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.86 Rename NS_XUL_EVENT_START to eXULEventFirst r=smaug
widget/EventMessageList.h
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -109,25 +109,24 @@ NS_EVENT_MESSAGE(eLegacyDragDrop,       
 NS_EVENT_MESSAGE(eLegacyDragGesture,    eDragDropEventFirst + 4)
 NS_EVENT_MESSAGE(eDrag,                 eDragDropEventFirst + 5)
 NS_EVENT_MESSAGE(eDragEnd,              eDragDropEventFirst + 6)
 NS_EVENT_MESSAGE(eDragStart,            eDragDropEventFirst + 7)
 NS_EVENT_MESSAGE(eDrop,                 eDragDropEventFirst + 8)
 NS_EVENT_MESSAGE(eDragLeave,            eDragDropEventFirst + 9)
 NS_EVENT_MESSAGE(eDragDropEventLast,    eDragLeave)
 
-// Events for popups
-NS_EVENT_MESSAGE(NS_XUL_EVENT_START,    1500)
-NS_EVENT_MESSAGE(NS_XUL_POPUP_SHOWING,  NS_XUL_EVENT_START)
-NS_EVENT_MESSAGE(NS_XUL_POPUP_SHOWN,    NS_XUL_EVENT_START + 1)
-NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDING,   NS_XUL_EVENT_START + 2)
-NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDDEN,   NS_XUL_EVENT_START + 3)
-// NS_XUL_COMMAND used to be here       (NS_XUL_EVENT_START + 4)
-NS_EVENT_MESSAGE(NS_XUL_BROADCAST,      NS_XUL_EVENT_START + 5)
-NS_EVENT_MESSAGE(NS_XUL_COMMAND_UPDATE, NS_XUL_EVENT_START + 6)
+// XUL specific events
+NS_EVENT_MESSAGE(eXULEventFirst,        1500)
+NS_EVENT_MESSAGE(NS_XUL_POPUP_SHOWING,  eXULEventFirst)
+NS_EVENT_MESSAGE(NS_XUL_POPUP_SHOWN,    eXULEventFirst + 1)
+NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDING,   eXULEventFirst + 2)
+NS_EVENT_MESSAGE(NS_XUL_POPUP_HIDDEN,   eXULEventFirst + 3)
+NS_EVENT_MESSAGE(NS_XUL_BROADCAST,      eXULEventFirst + 5)
+NS_EVENT_MESSAGE(NS_XUL_COMMAND_UPDATE, eXULEventFirst + 6)
 
 // Scroll events
 NS_EVENT_MESSAGE(NS_MOUSE_SCROLL_START, 1600)
 NS_EVENT_MESSAGE(NS_MOUSE_SCROLL,       NS_MOUSE_SCROLL_START)
 NS_EVENT_MESSAGE(NS_MOUSE_PIXEL_SCROLL, NS_MOUSE_SCROLL_START + 1)
 
 NS_EVENT_MESSAGE(NS_SCROLLPORT_START,     1700)
 NS_EVENT_MESSAGE(NS_SCROLLPORT_UNDERFLOW, NS_SCROLLPORT_START)