| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 void setCurrentTime(double); | 84 void setCurrentTime(double); |
| 85 void setCurrentTimeInternal(double); | 85 void setCurrentTimeInternal(double); |
| 86 double effectiveTime(); | 86 double effectiveTime(); |
| 87 void pauseAnimationsForTesting(double); | 87 void pauseAnimationsForTesting(double); |
| 88 | 88 |
| 89 void setAllCompositorPending(bool sourceChanged = false); | 89 void setAllCompositorPending(bool sourceChanged = false); |
| 90 void setOutdatedAnimation(Animation*); | 90 void setOutdatedAnimation(Animation*); |
| 91 void clearOutdatedAnimation(Animation*); | 91 void clearOutdatedAnimation(Animation*); |
| 92 bool hasOutdatedAnimation() const { return m_outdatedAnimationCount > 0; } | 92 bool hasOutdatedAnimation() const { return m_outdatedAnimationCount > 0; } |
| 93 bool needsAnimationTimingUpdate(); | 93 bool needsAnimationTimingUpdate(); |
| 94 void invalidateKeyframeEffects(); |
| 94 | 95 |
| 95 void setPlaybackRate(double); | 96 void setPlaybackRate(double); |
| 96 double playbackRate() const; | 97 double playbackRate() const; |
| 97 | 98 |
| 98 CompositorAnimationTimeline* compositorTimeline() const { return m_composito
rTimeline.get(); } | 99 CompositorAnimationTimeline* compositorTimeline() const { return m_composito
rTimeline.get(); } |
| 99 | 100 |
| 100 Document* document() { return m_document.get(); } | 101 Document* document() { return m_document.get(); } |
| 101 void wake(); | 102 void wake(); |
| 102 void resetForTesting(); | 103 void resetForTesting(); |
| 103 | 104 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 Member<AnimationTimeline> m_timeline; | 147 Member<AnimationTimeline> m_timeline; |
| 147 Timer<AnimationTimelineTiming> m_timer; | 148 Timer<AnimationTimelineTiming> m_timer; |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 friend class AnimationAnimationTimelineTest; | 151 friend class AnimationAnimationTimelineTest; |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 } // namespace blink | 154 } // namespace blink |
| 154 | 155 |
| 155 #endif | 156 #endif |
| OLD | NEW |