Bug 895274 part.146 Rename NS_MOUSE_SCROLL_START to eLegacyMouseScrollEventFirst r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Thu, 10 Sep 2015 10:40:04 +0900
changeset 294292 6e4fc82f286ba247a31c7e9160aa73668e4efa36
parent 294291 7a715b603ac0ab04990ac464d5a78551b3c513ee
child 294293 c46079d8b6ed24f7533f1844873b8f18bdffc13c
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.146 Rename NS_MOUSE_SCROLL_START to eLegacyMouseScrollEventFirst r=smaug
widget/EventMessageList.h
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -118,20 +118,20 @@ NS_EVENT_MESSAGE(eDragDropEventLast,    
 NS_EVENT_MESSAGE(eXULEventFirst,        1500)
 NS_EVENT_MESSAGE(eXULPopupShowing,      eXULEventFirst)
 NS_EVENT_MESSAGE(eXULPopupShown,        eXULEventFirst + 1)
 NS_EVENT_MESSAGE(eXULPopupHiding,       eXULEventFirst + 2)
 NS_EVENT_MESSAGE(eXULPopupHidden,       eXULEventFirst + 3)
 NS_EVENT_MESSAGE(eXULBroadcast,         eXULEventFirst + 5)
 NS_EVENT_MESSAGE(eXULCommandUpdate,     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)
+// Legacy mouse scroll (wheel) events
+NS_EVENT_MESSAGE(eLegacyMouseScrollEventFirst, 1600)
+NS_EVENT_MESSAGE(NS_MOUSE_SCROLL,              eLegacyMouseScrollEventFirst)
+NS_EVENT_MESSAGE(NS_MOUSE_PIXEL_SCROLL,        eLegacyMouseScrollEventFirst + 1)
 
 NS_EVENT_MESSAGE(NS_SCROLLPORT_START,     1700)
 NS_EVENT_MESSAGE(NS_SCROLLPORT_UNDERFLOW, NS_SCROLLPORT_START)
 NS_EVENT_MESSAGE(NS_SCROLLPORT_OVERFLOW,  NS_SCROLLPORT_START + 1)
 
 NS_EVENT_MESSAGE(eLegacyMutationEventFirst,       1800)
 NS_EVENT_MESSAGE(eLegacySubtreeModified,          eLegacyMutationEventFirst)
 NS_EVENT_MESSAGE(eLegacyNodeInserted,             eLegacyMutationEventFirst + 1)