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

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

Issue 23173007: Web Animations: Fix CSS events to handle animations with very short durations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 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 | « Source/core/animation/TimedItemTest.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 bd3c4e9517c27e96e89f6b68d3f20b57bce585ed..2f04c41d213d22213a4f2894a5b93dca5179e5ed 100644
--- a/Source/core/animation/css/CSSAnimations.h
+++ b/Source/core/animation/css/CSSAnimations.h
@@ -80,14 +80,14 @@ public:
private:
typedef HashMap<StringImpl*, RefPtr<Player> > AnimationMap;
AnimationMap m_animations;
- class EventDelegate FINAL : public TimedItemEventDelegate {
+ class EventDelegate FINAL : public TimedItem::EventDelegate {
public:
EventDelegate(Element* target, const AtomicString& name)
: m_target(target)
, m_name(name)
{
}
- virtual void onEventCondition(bool wasInPlay, bool isInPlay, double previousIteration, double currentIteration) OVERRIDE;
+ virtual void onEventCondition(bool isFirstSample, TimedItem::Phase previousPhase, TimedItem::Phase currentPhase, double previousIteration, double currentIteration) OVERRIDE;
private:
void maybeDispatch(Document::ListenerType, AtomicString& eventName, double elapsedTime);
Element* m_target;
« no previous file with comments | « Source/core/animation/TimedItemTest.cpp ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698