OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 RestartOnceTimerIfNotPaused, | 91 RestartOnceTimerIfNotPaused, |
92 // Restart OnceTimer. | 92 // Restart OnceTimer. |
93 RestartOnceTimer, | 93 RestartOnceTimer, |
94 // Cancel OnceTimer. | 94 // Cancel OnceTimer. |
95 CancelOnceTimer | 95 CancelOnceTimer |
96 }; | 96 }; |
97 | 97 |
98 bool isTimelineRunning() const; | 98 bool isTimelineRunning() const; |
99 void scheduleAnimationFrame(SMILTime fireTime); | 99 void scheduleAnimationFrame(SMILTime fireTime); |
100 void cancelAnimationFrame(); | 100 void cancelAnimationFrame(); |
101 void wakeupTimerFired(Timer<SMILTimeContainer>*); | 101 void wakeupTimerFired(TimerBase*); |
102 void scheduleAnimationPolicyTimer(); | 102 void scheduleAnimationPolicyTimer(); |
103 void cancelAnimationPolicyTimer(); | 103 void cancelAnimationPolicyTimer(); |
104 void animationPolicyTimerFired(Timer<SMILTimeContainer>*); | 104 void animationPolicyTimerFired(TimerBase*); |
105 ImageAnimationPolicy animationPolicy() const; | 105 ImageAnimationPolicy animationPolicy() const; |
106 bool handleAnimationPolicy(AnimationPolicyOnceAction); | 106 bool handleAnimationPolicy(AnimationPolicyOnceAction); |
107 void updateAnimationsAndScheduleFrameIfNeeded(SMILTime elapsed, bool seekToT
ime = false); | 107 void updateAnimationsAndScheduleFrameIfNeeded(SMILTime elapsed, bool seekToT
ime = false); |
108 SMILTime updateAnimations(SMILTime elapsed, bool seekToTime = false); | 108 SMILTime updateAnimations(SMILTime elapsed, bool seekToTime = false); |
109 void serviceOnNextFrame(); | 109 void serviceOnNextFrame(); |
110 void scheduleWakeUp(double delayTime, FrameSchedulingState); | 110 void scheduleWakeUp(double delayTime, FrameSchedulingState); |
111 bool hasPendingSynchronization() const; | 111 bool hasPendingSynchronization() const; |
112 | 112 |
113 void updateDocumentOrderIndexes(); | 113 void updateDocumentOrderIndexes(); |
114 double lastResumeTime() const { return m_resumeTime ? m_resumeTime : m_begin
Time; } | 114 double lastResumeTime() const { return m_resumeTime ? m_resumeTime : m_begin
Time; } |
(...skipping 21 matching lines...) Expand all Loading... |
136 | 136 |
137 Member<SVGSVGElement> m_ownerSVGElement; | 137 Member<SVGSVGElement> m_ownerSVGElement; |
138 | 138 |
139 #if ENABLE(ASSERT) | 139 #if ENABLE(ASSERT) |
140 bool m_preventScheduledAnimationsChanges; | 140 bool m_preventScheduledAnimationsChanges; |
141 #endif | 141 #endif |
142 }; | 142 }; |
143 } // namespace blink | 143 } // namespace blink |
144 | 144 |
145 #endif // SMILTimeContainer_h | 145 #endif // SMILTimeContainer_h |
OLD | NEW |