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

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

Issue 2236583003: Rename AnimationEffect to AnimationEffectReadOnly (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@deprecated-assert
Patch Set: Rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/Animation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/Animation.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index 456b18b58ebbc016017ee97b6c516e6b392afe0a..72196c63012e11c6db1d1800bedb87c941984ec5 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -37,7 +37,7 @@
#include "bindings/core/v8/ScriptPromiseProperty.h"
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
-#include "core/animation/AnimationEffect.h"
+#include "core/animation/AnimationEffectReadOnly.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/dom/DOMException.h"
#include "core/events/EventTarget.h"
@@ -73,7 +73,7 @@ public:
Finished
};
- static Animation* create(AnimationEffect*, AnimationTimeline*);
+ static Animation* create(AnimationEffectReadOnly*, AnimationTimeline*);
~Animation();
void dispose();
@@ -134,9 +134,9 @@ public:
void setStartTime(double);
void setStartTimeInternal(double);
- const AnimationEffect* effect() const { return m_content.get(); }
- AnimationEffect* effect() { return m_content.get(); }
- void setEffect(AnimationEffect*);
+ const AnimationEffectReadOnly* effect() const { return m_content.get(); }
+ AnimationEffectReadOnly* effect() { return m_content.get(); }
+ void setEffect(AnimationEffectReadOnly*);
void setId(const String& id) { m_id = id; }
const String& id() const { return m_id; }
@@ -191,7 +191,7 @@ protected:
void addedEventListener(const AtomicString& eventType, RegisteredEventListener&) override;
private:
- Animation(ExecutionContext*, AnimationTimeline&, AnimationEffect*);
+ Animation(ExecutionContext*, AnimationTimeline&, AnimationEffectReadOnly*);
void clearOutdated();
@@ -232,7 +232,7 @@ private:
Member<AnimationPromise> m_finishedPromise;
Member<AnimationPromise> m_readyPromise;
- Member<AnimationEffect> m_content;
+ Member<AnimationEffectReadOnly> m_content;
Member<AnimationTimeline> m_timeline;
// Reflects all pausing, including via pauseForTesting().
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/Animation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698