mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 895274 part.196 Rename NS_SMIL_BEGIN to eSMILBeginEvent r=smaug
This commit is contained in:
parent
8cfcb56a6b
commit
61767487d7
@ -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.
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user