Bug 895274 part.197 Rename NS_SMIL_END to eSMILEndEvent r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-11 21:21:27 +09:00
Родитель 61767487d7
Коммит 12fcfc409f
3 изменённых файлов: 5 добавлений и 5 удалений

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

@ -785,12 +785,12 @@ NON_IDL_EVENT(beginEvent,
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined. // Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
#ifndef MESSAGE_TO_EVENT #ifndef MESSAGE_TO_EVENT
NON_IDL_EVENT(end, NON_IDL_EVENT(end,
NS_SMIL_END, eSMILEndEvent,
EventNameType_SMIL, EventNameType_SMIL,
eBasicEventClass) eBasicEventClass)
#endif #endif
NON_IDL_EVENT(endEvent, NON_IDL_EVENT(endEvent,
NS_SMIL_END, eSMILEndEvent,
EventNameType_None, EventNameType_None,
eSMILTimeEventClass) eSMILTimeEventClass)
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined. // Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.

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

@ -679,7 +679,7 @@ nsSMILTimedElement::DoSampleAt(nsSMILTime aContainerTime, bool aEndOnly)
} }
mCurrentInterval->FixEnd(); mCurrentInterval->FixEnd();
if (mSeekState == SEEK_NOT_SEEKING) { if (mSeekState == SEEK_NOT_SEEKING) {
FireTimeEventAsync(NS_SMIL_END, 0); FireTimeEventAsync(eSMILEndEvent, 0);
} }
mCurrentRepeatIteration = 0; mCurrentRepeatIteration = 0;
mOldIntervals.AppendElement(mCurrentInterval.forget()); mOldIntervals.AppendElement(mCurrentInterval.forget());
@ -1518,7 +1518,7 @@ nsSMILTimedElement::DoPostSeek()
case SEEK_FORWARD_FROM_ACTIVE: case SEEK_FORWARD_FROM_ACTIVE:
case SEEK_BACKWARD_FROM_ACTIVE: case SEEK_BACKWARD_FROM_ACTIVE:
if (mElementState != STATE_ACTIVE) { if (mElementState != STATE_ACTIVE) {
FireTimeEventAsync(NS_SMIL_END, 0); FireTimeEventAsync(eSMILEndEvent, 0);
} }
break; break;

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

@ -333,7 +333,7 @@ NS_EVENT_MESSAGE(eAnimationIteration, eAnimationEventFirst + 2)
NS_EVENT_MESSAGE(eSMILEventFirst, 4300) NS_EVENT_MESSAGE(eSMILEventFirst, 4300)
NS_EVENT_MESSAGE(eSMILBeginEvent, eSMILEventFirst) NS_EVENT_MESSAGE(eSMILBeginEvent, eSMILEventFirst)
NS_EVENT_MESSAGE(NS_SMIL_END, eSMILEventFirst + 1) NS_EVENT_MESSAGE(eSMILEndEvent, eSMILEventFirst + 1)
NS_EVENT_MESSAGE(NS_SMIL_REPEAT, eSMILEventFirst + 2) NS_EVENT_MESSAGE(NS_SMIL_REPEAT, eSMILEventFirst + 2)
NS_EVENT_MESSAGE(NS_WEBAUDIO_EVENT_START, 4350) NS_EVENT_MESSAGE(NS_WEBAUDIO_EVENT_START, 4350)