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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool isTimelineRunning() const; | 98 bool isTimelineRunning() const; |
99 void synchronizeToDocumentTimeline(); | 99 void synchronizeToDocumentTimeline(); |
100 void scheduleAnimationFrame(double delayTime); | 100 void scheduleAnimationFrame(double delayTime); |
101 void cancelAnimationFrame(); | 101 void cancelAnimationFrame(); |
102 void wakeupTimerFired(TimerBase*); | 102 void wakeupTimerFired(TimerBase*); |
103 void scheduleAnimationPolicyTimer(); | 103 void scheduleAnimationPolicyTimer(); |
104 void cancelAnimationPolicyTimer(); | 104 void cancelAnimationPolicyTimer(); |
105 void animationPolicyTimerFired(TimerBase*); | 105 void animationPolicyTimerFired(TimerBase*); |
106 ImageAnimationPolicy animationPolicy() const; | 106 ImageAnimationPolicy animationPolicy() const; |
107 bool handleAnimationPolicy(AnimationPolicyOnceAction); | 107 bool handleAnimationPolicy(AnimationPolicyOnceAction); |
| 108 bool canScheduleFrame(SMILTime earliestFireTime) const; |
108 void updateAnimationsAndScheduleFrameIfNeeded(SMILTime elapsed, bool seekToT
ime = false); | 109 void updateAnimationsAndScheduleFrameIfNeeded(SMILTime elapsed, bool seekToT
ime = false); |
109 SMILTime updateAnimations(SMILTime elapsed, bool seekToTime = false); | 110 SMILTime updateAnimations(SMILTime elapsed, bool seekToTime = false); |
110 void serviceOnNextFrame(); | 111 void serviceOnNextFrame(); |
111 void scheduleWakeUp(double delayTime, FrameSchedulingState); | 112 void scheduleWakeUp(double delayTime, FrameSchedulingState); |
112 bool hasPendingSynchronization() const; | 113 bool hasPendingSynchronization() const; |
113 | 114 |
114 void updateDocumentOrderIndexes(); | 115 void updateDocumentOrderIndexes(); |
115 | 116 |
116 SVGSVGElement& ownerSVGElement() const; | 117 SVGSVGElement& ownerSVGElement() const; |
117 Document& document() const; | 118 Document& document() const; |
(...skipping 20 matching lines...) Expand all Loading... |
138 | 139 |
139 Member<SVGSVGElement> m_ownerSVGElement; | 140 Member<SVGSVGElement> m_ownerSVGElement; |
140 | 141 |
141 #if ENABLE(ASSERT) | 142 #if ENABLE(ASSERT) |
142 bool m_preventScheduledAnimationsChanges; | 143 bool m_preventScheduledAnimationsChanges; |
143 #endif | 144 #endif |
144 }; | 145 }; |
145 } // namespace blink | 146 } // namespace blink |
146 | 147 |
147 #endif // SMILTimeContainer_h | 148 #endif // SMILTimeContainer_h |
OLD | NEW |