mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1046101 part.24 Rename NS_TRANSITION_EVENT to eTransitionEventClass r=smaug
This commit is contained in:
parent
274dc61dc9
commit
b0117e442d
@ -744,7 +744,7 @@ EventDispatcher::CreateEvent(EventTarget* aOwner,
|
||||
case eTouchEventClass:
|
||||
return NS_NewDOMTouchEvent(aDOMEvent, aOwner, aPresContext,
|
||||
aEvent->AsTouchEvent());
|
||||
case NS_TRANSITION_EVENT:
|
||||
case eTransitionEventClass:
|
||||
return NS_NewDOMTransitionEvent(aDOMEvent, aOwner, aPresContext,
|
||||
aEvent->AsTransitionEvent());
|
||||
case NS_ANIMATION_EVENT:
|
||||
|
@ -883,7 +883,7 @@ NON_IDL_EVENT(MozEdgeUICompleted,
|
||||
NON_IDL_EVENT(transitionend,
|
||||
NS_TRANSITION_END,
|
||||
EventNameType_None,
|
||||
NS_TRANSITION_EVENT)
|
||||
eTransitionEventClass)
|
||||
NON_IDL_EVENT(animationstart,
|
||||
NS_ANIMATION_START,
|
||||
EventNameType_None,
|
||||
|
@ -57,7 +57,7 @@ enum EventClassID MOZ_ENUM_TYPE(EventClassIDType)
|
||||
eFormEventClass, // InternalFormEvent
|
||||
eFocusEventClass, // InternalFocusEvent
|
||||
eClipboardEventClass, // InternalClipboardEvent
|
||||
NS_TRANSITION_EVENT, // InternalTransitionEvent
|
||||
eTransitionEventClass, // InternalTransitionEvent
|
||||
NS_ANIMATION_EVENT, // InternalAnimationEvent
|
||||
NS_SVGZOOM_EVENT, // InternalSVGZoomEvent
|
||||
NS_SMIL_TIME_EVENT, // InternalSMILTimeEvent
|
||||
|
@ -240,7 +240,7 @@ public:
|
||||
}
|
||||
|
||||
InternalTransitionEvent(bool aIsTrusted, uint32_t aMessage)
|
||||
: WidgetEvent(aIsTrusted, aMessage, NS_TRANSITION_EVENT)
|
||||
: WidgetEvent(aIsTrusted, aMessage, eTransitionEventClass)
|
||||
, elapsedTime(0.0)
|
||||
{
|
||||
mFlags.mCancelable = false;
|
||||
@ -248,7 +248,7 @@ public:
|
||||
|
||||
virtual WidgetEvent* Duplicate() const MOZ_OVERRIDE
|
||||
{
|
||||
MOZ_ASSERT(mClass == NS_TRANSITION_EVENT,
|
||||
MOZ_ASSERT(mClass == eTransitionEventClass,
|
||||
"Duplicate() must be overridden by sub class");
|
||||
InternalTransitionEvent* result =
|
||||
new InternalTransitionEvent(false, message);
|
||||
|
Loading…
Reference in New Issue
Block a user