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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.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
Index: third_party/WebKit/Source/core/animation/css/CSSAnimations.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
index e1d86a92cfba581497d42d26c8f3d61912f94c7a..f3bc9a7fe03b20f112dd2f284fac79fd902f5c22 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
@@ -146,17 +146,17 @@ private:
static void calculateAnimationActiveInterpolations(CSSAnimationUpdate&, const Element* animatingElement);
static void calculateTransitionActiveInterpolations(CSSAnimationUpdate&, const Element* animatingElement);
- class AnimationEventDelegate final : public AnimationEffect::EventDelegate {
+ class AnimationEventDelegate final : public AnimationEffectReadOnly::EventDelegate {
public:
AnimationEventDelegate(Element* animationTarget, const AtomicString& name)
: m_animationTarget(animationTarget)
, m_name(name)
- , m_previousPhase(AnimationEffect::PhaseNone)
+ , m_previousPhase(AnimationEffectReadOnly::PhaseNone)
, m_previousIteration(nullValue())
{
}
- bool requiresIterationEvents(const AnimationEffect&) override;
- void onEventCondition(const AnimationEffect&) override;
+ bool requiresIterationEvents(const AnimationEffectReadOnly&) override;
+ void onEventCondition(const AnimationEffectReadOnly&) override;
DECLARE_VIRTUAL_TRACE();
private:
@@ -167,20 +167,20 @@ private:
void maybeDispatch(Document::ListenerType, const AtomicString& eventName, double elapsedTime);
Member<Element> m_animationTarget;
const AtomicString m_name;
- AnimationEffect::Phase m_previousPhase;
+ AnimationEffectReadOnly::Phase m_previousPhase;
double m_previousIteration;
};
- class TransitionEventDelegate final : public AnimationEffect::EventDelegate {
+ class TransitionEventDelegate final : public AnimationEffectReadOnly::EventDelegate {
public:
TransitionEventDelegate(Element* transitionTarget, CSSPropertyID property)
: m_transitionTarget(transitionTarget)
, m_property(property)
- , m_previousPhase(AnimationEffect::PhaseNone)
+ , m_previousPhase(AnimationEffectReadOnly::PhaseNone)
{
}
- bool requiresIterationEvents(const AnimationEffect&) override { return false; }
- void onEventCondition(const AnimationEffect&) override;
+ bool requiresIterationEvents(const AnimationEffectReadOnly&) override { return false; }
+ void onEventCondition(const AnimationEffectReadOnly&) override;
DECLARE_VIRTUAL_TRACE();
private:
@@ -191,7 +191,7 @@ private:
Member<Element> m_transitionTarget;
const CSSPropertyID m_property;
- AnimationEffect::Phase m_previousPhase;
+ AnimationEffectReadOnly::Phase m_previousPhase;
};
};

Powered by Google App Engine
This is Rietveld 408576698