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

Unified Diff: Source/core/animation/css/CSSAnimations.h

Issue 293893003: Web Animations: Rename TimedItem to AnimationSource (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update expectations. Created 6 years, 7 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 | « Source/core/animation/TimingInputTest.cpp ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/css/CSSAnimations.h
diff --git a/Source/core/animation/css/CSSAnimations.h b/Source/core/animation/css/CSSAnimations.h
index 9a293f9896b1dc141948e2c65a017d4cd789254e..1d775f53f96c3090461ce636aaba144612f9b17c 100644
--- a/Source/core/animation/css/CSSAnimations.h
+++ b/Source/core/animation/css/CSSAnimations.h
@@ -217,37 +217,37 @@ private:
static void calculateAnimationActiveInterpolations(CSSAnimationUpdate*, const Element*, double timelineCurrentTime);
static void calculateTransitionActiveInterpolations(CSSAnimationUpdate*, const Element*, double timelineCurrentTime);
- class AnimationEventDelegate FINAL : public TimedItem::EventDelegate {
+ class AnimationEventDelegate FINAL : public AnimationSource::EventDelegate {
public:
AnimationEventDelegate(Element* target, const AtomicString& name)
: m_target(target)
, m_name(name)
- , m_previousPhase(TimedItem::PhaseNone)
+ , m_previousPhase(AnimationSource::PhaseNone)
, m_previousIteration(nullValue())
{
}
- virtual void onEventCondition(const TimedItem*) OVERRIDE;
+ virtual void onEventCondition(const AnimationSource*) OVERRIDE;
private:
void maybeDispatch(Document::ListenerType, const AtomicString& eventName, double elapsedTime);
Element* m_target;
const AtomicString m_name;
- TimedItem::Phase m_previousPhase;
+ AnimationSource::Phase m_previousPhase;
double m_previousIteration;
};
- class TransitionEventDelegate FINAL : public TimedItem::EventDelegate {
+ class TransitionEventDelegate FINAL : public AnimationSource::EventDelegate {
public:
TransitionEventDelegate(Element* target, CSSPropertyID property)
: m_target(target)
, m_property(property)
- , m_previousPhase(TimedItem::PhaseNone)
+ , m_previousPhase(AnimationSource::PhaseNone)
{
}
- virtual void onEventCondition(const TimedItem*) OVERRIDE;
+ virtual void onEventCondition(const AnimationSource*) OVERRIDE;
private:
Element* m_target;
const CSSPropertyID m_property;
- TimedItem::Phase m_previousPhase;
+ AnimationSource::Phase m_previousPhase;
};
};
« no previous file with comments | « Source/core/animation/TimingInputTest.cpp ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698