Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Tue, 15 Sep 2015 00:14:36 +0900
changeset 296660 8f9e04ad1f2363ee504dc424656ef625faa57c5d
parent 296659 a42e812473515f470c71b5ffa0117a5941dddc39
child 296661 3aefc8bd19fd6ece1ea975fa0ba84a212ffbfc23
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [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.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug
dom/events/EventNameList.h
layout/style/nsTransitionManager.h
widget/EventMessageList.h
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -908,17 +908,17 @@ NON_IDL_EVENT(MozEdgeUICanceled,
               EventNameType_None,
               eSimpleGestureEventClass)
 NON_IDL_EVENT(MozEdgeUICompleted,
               NS_SIMPLE_GESTURE_EDGE_COMPLETED,
               EventNameType_None,
               eSimpleGestureEventClass)
 
 NON_IDL_EVENT(transitionend,
-              NS_TRANSITION_END,
+              eTransitionEnd,
               EventNameType_None,
               eTransitionEventClass)
 NON_IDL_EVENT(animationstart,
               eAnimationStart,
               EventNameType_None,
               eAnimationEventClass)
 NON_IDL_EVENT(animationend,
               eAnimationEnd,
--- a/layout/style/nsTransitionManager.h
+++ b/layout/style/nsTransitionManager.h
@@ -184,30 +184,30 @@ protected:
 struct TransitionEventInfo {
   nsCOMPtr<nsIContent> mElement;
   InternalTransitionEvent mEvent;
 
   TransitionEventInfo(nsIContent *aElement, nsCSSProperty aProperty,
                       TimeDuration aDuration,
                       nsCSSPseudoElements::Type aPseudoType)
     : mElement(aElement)
-    , mEvent(true, NS_TRANSITION_END)
+    , mEvent(true, eTransitionEnd)
   {
     // XXX Looks like nobody initialize WidgetEvent::time
     mEvent.propertyName =
       NS_ConvertUTF8toUTF16(nsCSSProps::GetStringValue(aProperty));
     mEvent.elapsedTime = aDuration.ToSeconds();
     mEvent.pseudoElement = AnimationCollection::PseudoTypeAsString(aPseudoType);
   }
 
   // InternalTransitionEvent doesn't support copy-construction, so we need
   // to ourselves in order to work with nsTArray
   TransitionEventInfo(const TransitionEventInfo &aOther)
     : mElement(aOther.mElement)
-    , mEvent(true, NS_TRANSITION_END)
+    , mEvent(true, eTransitionEnd)
   {
     mEvent.AssignTransitionEventData(aOther.mEvent, false);
   }
 };
 
 } // namespace mozilla
 
 class nsTransitionManager final
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -317,17 +317,17 @@ NS_EVENT_MESSAGE(eContentCommandScroll, 
 
 // Event to gesture notification
 NS_EVENT_MESSAGE(eGestureNotify,        3900)
 
 NS_EVENT_MESSAGE(eScrolledAreaEventFirst, 4100)
 NS_EVENT_MESSAGE(eScrolledAreaChanged,    eScrolledAreaEventFirst)
 
 NS_EVENT_MESSAGE(eTransitionEventFirst, 4200)
-NS_EVENT_MESSAGE(NS_TRANSITION_END,     eTransitionEventFirst)
+NS_EVENT_MESSAGE(eTransitionEnd,        eTransitionEventFirst)
 
 NS_EVENT_MESSAGE(eAnimationEventFirst,  4250)
 NS_EVENT_MESSAGE(eAnimationStart,       eAnimationEventFirst)
 NS_EVENT_MESSAGE(eAnimationEnd,         eAnimationEventFirst + 1)
 NS_EVENT_MESSAGE(eAnimationIteration,   eAnimationEventFirst + 2)
 
 NS_EVENT_MESSAGE(eSMILEventFirst,       4300)
 NS_EVENT_MESSAGE(eSMILBeginEvent,       eSMILEventFirst)