Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: third_party/WebKit/Source/core/animation/AnimationTimeline.h

Issue 2361733004: Adding @keyframes rules only affects TreeScope plus host. (Closed)
Patch Set: Moved scope check to CSSAnimations Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.cpp ('k') | third_party/WebKit/Source/core/animation/AnimationTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698