Bug 895274 part.217 Rename NS_SCROLLEDAREACHANGE to eScrolledAreaChanged r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Sat, 12 Sep 2015 01:19:27 +0900
changeset 294658 62295fa19e5066782d49aca4626aea192f532f57
parent 294657 07c0e58b5f164fdfa5db8e1e8282f4613ef91d1f
child 294659 6f368a13d9ed920586fa384980123e9ba8e0bc30
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.217 Rename NS_SCROLLEDAREACHANGE to eScrolledAreaChanged r=smaug
dom/events/EventNameList.h
layout/generic/nsGfxScrollFrame.cpp
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -806,17 +806,17 @@ NON_IDL_EVENT(repeatEvent,
               eSMILTimeEventClass)
 
 NON_IDL_EVENT(MozAfterPaint,
               eAfterPaint,
               EventNameType_None,
               eBasicEventClass)
 
 NON_IDL_EVENT(MozScrolledAreaChanged,
-              NS_SCROLLEDAREACHANGED,
+              eScrolledAreaChanged,
               EventNameType_None,
               eScrollAreaEventClass)
 
 #ifdef MOZ_GAMEPAD
 NON_IDL_EVENT(gamepadbuttondown,
               eGamepadButtonDown,
               EventNameType_None,
               eBasicEventClass)
--- a/layout/generic/nsGfxScrollFrame.cpp
+++ b/layout/generic/nsGfxScrollFrame.cpp
@@ -5319,17 +5319,17 @@ ScrollFrameHelper::ScrolledAreaEvent::Ru
   return NS_OK;
 }
 
 void
 ScrollFrameHelper::FireScrolledAreaEvent()
 {
   mScrolledAreaEvent.Forget();
 
-  InternalScrollAreaEvent event(true, NS_SCROLLEDAREACHANGED, nullptr);
+  InternalScrollAreaEvent event(true, eScrolledAreaChanged, nullptr);
   nsPresContext *prescontext = mOuter->PresContext();
   nsIContent* content = mOuter->GetContent();
 
   event.mArea = mScrolledFrame->GetScrollableOverflowRectRelativeToParent();
 
   nsIDocument *doc = content->GetCurrentDoc();
   if (doc) {
     EventDispatcher::Dispatch(doc, prescontext, &event, nullptr);
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -316,17 +316,17 @@ NS_EVENT_MESSAGE(eContentCommandPasteTra
 NS_EVENT_MESSAGE(eContentCommandScroll,            eContentCommandEventFirst + 7)
 
 // Event to gesture notification
 NS_EVENT_MESSAGE(NS_GESTURENOTIFY_EVENT_START, 3900)
 
 NS_EVENT_MESSAGE(NS_ORIENTATION_EVENT,  4000)
 
 NS_EVENT_MESSAGE(eScrolledAreaEventFirst, 4100)
-NS_EVENT_MESSAGE(NS_SCROLLEDAREACHANGED,  eScrolledAreaEventFirst)
+NS_EVENT_MESSAGE(eScrolledAreaChanged,    eScrolledAreaEventFirst)
 
 NS_EVENT_MESSAGE(NS_TRANSITION_EVENT_START, 4200)
 NS_EVENT_MESSAGE(NS_TRANSITION_END,     NS_TRANSITION_EVENT_START)
 
 NS_EVENT_MESSAGE(eAnimationEventFirst,  4250)
 NS_EVENT_MESSAGE(eAnimationStart,       eAnimationEventFirst)
 NS_EVENT_MESSAGE(eAnimationEnd,         eAnimationEventFirst + 1)
 NS_EVENT_MESSAGE(eAnimationIteration,   eAnimationEventFirst + 2)