From 8062390672cea81ef692b9c7ba74a5b35af0545e Mon Sep 17 00:00:00 2001 From: Masayuki Nakano Date: Thu, 10 Sep 2015 10:40:04 +0900 Subject: [PATCH] Bug 895274 part.146 Rename NS_MOUSE_SCROLL_START to eLegacyMouseScrollEventFirst r=smaug --- widget/EventMessageList.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/widget/EventMessageList.h b/widget/EventMessageList.h index d078ea63e972..37b57d9d91c6 100644 --- a/widget/EventMessageList.h +++ b/widget/EventMessageList.h @@ -123,10 +123,10 @@ 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)