OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 void setCurrentTime(double); | 83 void setCurrentTime(double); |
84 void setCurrentTimeInternal(double); | 84 void setCurrentTimeInternal(double); |
85 double effectiveTime(); | 85 double effectiveTime(); |
86 void pauseAnimationsForTesting(double); | 86 void pauseAnimationsForTesting(double); |
87 | 87 |
88 void setAllCompositorPending(bool sourceChanged = false); | 88 void setAllCompositorPending(bool sourceChanged = false); |
89 void setOutdatedAnimation(Animation*); | 89 void setOutdatedAnimation(Animation*); |
90 void clearOutdatedAnimation(Animation*); | 90 void clearOutdatedAnimation(Animation*); |
91 bool hasOutdatedAnimation() const { return m_outdatedAnimationCount > 0; } | 91 bool hasOutdatedAnimation() const { return m_outdatedAnimationCount > 0; } |
92 bool needsAnimationTimingUpdate(); | 92 bool needsAnimationTimingUpdate(); |
93 void invalidateKeyframeEffects(); | 93 void invalidateKeyframeEffects(const TreeScope&); |
94 | 94 |
95 void setPlaybackRate(double); | 95 void setPlaybackRate(double); |
96 double playbackRate() const; | 96 double playbackRate() const; |
97 | 97 |
98 CompositorAnimationTimeline* compositorTimeline() const { return m_composito
rTimeline.get(); } | 98 CompositorAnimationTimeline* compositorTimeline() const { return m_composito
rTimeline.get(); } |
99 | 99 |
100 Document* document() { return m_document.get(); } | 100 Document* document() { return m_document.get(); } |
101 void wake(); | 101 void wake(); |
102 void resetForTesting(); | 102 void resetForTesting(); |
103 | 103 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 Member<AnimationTimeline> m_timeline; | 146 Member<AnimationTimeline> m_timeline; |
147 Timer<AnimationTimelineTiming> m_timer; | 147 Timer<AnimationTimelineTiming> m_timer; |
148 }; | 148 }; |
149 | 149 |
150 friend class AnimationAnimationTimelineTest; | 150 friend class AnimationAnimationTimelineTest; |
151 }; | 151 }; |
152 | 152 |
153 } // namespace blink | 153 } // namespace blink |
154 | 154 |
155 #endif | 155 #endif |
OLD | NEW |