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

Unified Diff: third_party/WebKit/Source/core/animation/EffectStack.h

Issue 2522823002: Blink Animation: Rename AnimationStack to EffectStack. (Closed)
Patch Set: Rename getter and data (and locals) Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/EffectStack.h
diff --git a/third_party/WebKit/Source/core/animation/AnimationStack.h b/third_party/WebKit/Source/core/animation/EffectStack.h
similarity index 92%
rename from third_party/WebKit/Source/core/animation/AnimationStack.h
rename to third_party/WebKit/Source/core/animation/EffectStack.h
index edf3e3aed510b1e555cb852312c4c58692d7825d..17fc2f269839f000309b55800d3e42d1a700f0a9 100644
--- a/third_party/WebKit/Source/core/animation/AnimationStack.h
+++ b/third_party/WebKit/Source/core/animation/EffectStack.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef AnimationStack_h
-#define AnimationStack_h
+#ifndef EffectStack_h
+#define EffectStack_h
#include "core/CoreExport.h"
#include "core/animation/Animation.h"
@@ -49,12 +49,12 @@ class InertEffect;
// Represents the order in which a sequence of SampledEffects should apply.
// This sequence is broken down to per PropertyHandle granularity.
-class CORE_EXPORT AnimationStack {
+class CORE_EXPORT EffectStack {
DISALLOW_NEW();
- WTF_MAKE_NONCOPYABLE(AnimationStack);
+ WTF_MAKE_NONCOPYABLE(EffectStack);
public:
- AnimationStack();
+ EffectStack();
void add(SampledEffect* sampledEffect) {
m_sampledEffects.append(sampledEffect);
@@ -64,7 +64,7 @@ class CORE_EXPORT AnimationStack {
using PropertyHandleFilter = bool (*)(const PropertyHandle&);
static ActiveInterpolationsMap activeInterpolations(
- AnimationStack*,
+ EffectStack*,
const HeapVector<Member<const InertEffect>>* newAnimations,
const HeapHashSet<Member<const Animation>>* suppressedAnimations,
KeyframeEffectReadOnly::Priority,
@@ -79,9 +79,9 @@ class CORE_EXPORT AnimationStack {
// Effects sorted by priority. Lower priority at the start of the list.
HeapVector<Member<SampledEffect>> m_sampledEffects;
- friend class AnimationAnimationStackTest;
+ friend class AnimationEffectStackTest;
};
} // namespace blink
-#endif // AnimationStack_h
+#endif // EffectStack_h
« no previous file with comments | « third_party/WebKit/Source/core/animation/BUILD.gn ('k') | third_party/WebKit/Source/core/animation/EffectStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698