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

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

Issue 2522823002: Blink Animation: Rename AnimationStack to EffectStack. (Closed)
Patch Set: Rename getter and data (and locals) Created 4 years 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef KeyframeEffectReadOnly_h 5 #ifndef KeyframeEffectReadOnly_h
6 #define KeyframeEffectReadOnly_h 6 #define KeyframeEffectReadOnly_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/animation/AnimationEffectReadOnly.h" 9 #include "core/animation/AnimationEffectReadOnly.h"
10 #include "core/animation/EffectModel.h" 10 #include "core/animation/EffectModel.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 bool isKeyframeEffectReadOnly() const override { return true; } 56 bool isKeyframeEffectReadOnly() const override { return true; }
57 57
58 bool affects(PropertyHandle) const; 58 bool affects(PropertyHandle) const;
59 const EffectModel* model() const { return m_model.get(); } 59 const EffectModel* model() const { return m_model.get(); }
60 EffectModel* model() { return m_model.get(); } 60 EffectModel* model() { return m_model.get(); }
61 void setModel(EffectModel* model) { m_model = model; } 61 void setModel(EffectModel* model) { m_model = model; }
62 Priority getPriority() const { return m_priority; } 62 Priority getPriority() const { return m_priority; }
63 Element* target() const { return m_target; } 63 Element* target() const { return m_target; }
64 64
65 void notifySampledEffectRemovedFromAnimationStack(); 65 void notifySampledEffectRemovedFromEffectStack();
66 66
67 bool isCandidateForAnimationOnCompositor(double animationPlaybackRate) const; 67 bool isCandidateForAnimationOnCompositor(double animationPlaybackRate) const;
68 // Must only be called once. 68 // Must only be called once.
69 bool maybeStartAnimationOnCompositor(int group, 69 bool maybeStartAnimationOnCompositor(int group,
70 double startTime, 70 double startTime,
71 double timeOffset, 71 double timeOffset,
72 double animationPlaybackRate); 72 double animationPlaybackRate);
73 bool hasActiveAnimationsOnCompositor() const; 73 bool hasActiveAnimationsOnCompositor() const;
74 bool hasActiveAnimationsOnCompositor(CSSPropertyID) const; 74 bool hasActiveAnimationsOnCompositor(CSSPropertyID) const;
75 bool cancelAnimationOnCompositor(); 75 bool cancelAnimationOnCompositor();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 DEFINE_TYPE_CASTS(KeyframeEffectReadOnly, 120 DEFINE_TYPE_CASTS(KeyframeEffectReadOnly,
121 AnimationEffectReadOnly, 121 AnimationEffectReadOnly,
122 animationNode, 122 animationNode,
123 animationNode->isKeyframeEffectReadOnly(), 123 animationNode->isKeyframeEffectReadOnly(),
124 animationNode.isKeyframeEffectReadOnly()); 124 animationNode.isKeyframeEffectReadOnly());
125 125
126 } // namespace blink 126 } // namespace blink
127 127
128 #endif // KeyframeEffectReadOnly_h 128 #endif // KeyframeEffectReadOnly_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698