Bug 895274 part.171 Rename NS_ANIMATION_START to eAnimationStart r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-11 01:59:53 +09:00
Родитель 4446abcd0f
Коммит d715374512
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -909,7 +909,7 @@ NON_IDL_EVENT(transitionend,
EventNameType_None,
eTransitionEventClass)
NON_IDL_EVENT(animationstart,
NS_ANIMATION_START,
eAnimationStart,
EventNameType_None,
eAnimationEventClass)
NON_IDL_EVENT(animationend,

Просмотреть файл

@ -239,7 +239,7 @@ CSSAnimation::QueueEvents()
EventMessage message;
if (!wasActive && isActive) {
message = NS_ANIMATION_START;
message = eAnimationStart;
} else if (wasActive && !isActive) {
message = NS_ANIMATION_END;
} else if (wasActive && isActive && !isSameIteration) {
@ -251,7 +251,7 @@ CSSAnimation::QueueEvents()
std::min(StickyTimeDuration(mEffect->InitialAdvance()),
computedTiming.mActiveDuration);
manager->QueueEvent(
AnimationEventInfo(owningElement, mAnimationName, NS_ANIMATION_START,
AnimationEventInfo(owningElement, mAnimationName, eAnimationStart,
elapsedTime, owningPseudoType));
// Then have the shared code below append an 'animationend':
message = NS_ANIMATION_END;
@ -261,7 +261,7 @@ CSSAnimation::QueueEvents()
StickyTimeDuration elapsedTime;
if (message == NS_ANIMATION_START ||
if (message == eAnimationStart ||
message == NS_ANIMATION_ITERATION) {
TimeDuration iterationStart = mEffect->Timing().mIterationDuration *
computedTiming.mCurrentIteration;

Просмотреть файл

@ -327,7 +327,7 @@ 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(NS_ANIMATION_START, eAnimationEventFirst)
NS_EVENT_MESSAGE(eAnimationStart, eAnimationEventFirst)
NS_EVENT_MESSAGE(NS_ANIMATION_END, eAnimationEventFirst + 1)
NS_EVENT_MESSAGE(NS_ANIMATION_ITERATION, eAnimationEventFirst + 2)