Bug 895274 part.196 Rename NS_SMIL_BEGIN to eSMILBeginEvent r=smaug

This commit is contained in:
Masayuki Nakano 2015-09-11 21:21:27 +09:00
parent 8cfcb56a6b
commit 61767487d7
3 changed files with 5 additions and 5 deletions

View File

@ -774,12 +774,12 @@ NON_IDL_EVENT(zoom,
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.
#ifndef MESSAGE_TO_EVENT
NON_IDL_EVENT(begin,
NS_SMIL_BEGIN,
eSMILBeginEvent,
EventNameType_SMIL,
eBasicEventClass)
#endif
NON_IDL_EVENT(beginEvent,
NS_SMIL_BEGIN,
eSMILBeginEvent,
EventNameType_None,
eSMILTimeEventClass)
// Only map the ID to the real event name when MESSAGE_TO_EVENT is defined.

View File

@ -643,7 +643,7 @@ nsSMILTimedElement::DoSampleAt(nsSMILTime aContainerTime, bool aEndOnly)
mClient->Activate(mCurrentInterval->Begin()->Time().GetMillis());
}
if (mSeekState == SEEK_NOT_SEEKING) {
FireTimeEventAsync(NS_SMIL_BEGIN, 0);
FireTimeEventAsync(eSMILBeginEvent, 0);
}
if (HasPlayed()) {
Reset(); // Apply restart behaviour
@ -1525,7 +1525,7 @@ nsSMILTimedElement::DoPostSeek()
case SEEK_FORWARD_FROM_INACTIVE:
case SEEK_BACKWARD_FROM_INACTIVE:
if (mElementState == STATE_ACTIVE) {
FireTimeEventAsync(NS_SMIL_BEGIN, 0);
FireTimeEventAsync(eSMILBeginEvent, 0);
}
break;

View File

@ -332,7 +332,7 @@ NS_EVENT_MESSAGE(eAnimationEnd, eAnimationEventFirst + 1)
NS_EVENT_MESSAGE(eAnimationIteration, eAnimationEventFirst + 2)
NS_EVENT_MESSAGE(eSMILEventFirst, 4300)
NS_EVENT_MESSAGE(NS_SMIL_BEGIN, eSMILEventFirst)
NS_EVENT_MESSAGE(eSMILBeginEvent, eSMILEventFirst)
NS_EVENT_MESSAGE(NS_SMIL_END, eSMILEventFirst + 1)
NS_EVENT_MESSAGE(NS_SMIL_REPEAT, eSMILEventFirst + 2)