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

Unified Diff: Source/core/animation/DocumentTimeline.h

Issue 19266007: Web Animations: Introduce ActiveAnimations and AnimationStack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Source/core/animation/DocumentTimeline.h
diff --git a/Source/core/animation/DocumentTimeline.h b/Source/core/animation/DocumentTimeline.h
index a2bd963f0bda4d5263b09db30bdaeecfc90a2a07..314082660fae3ead60f1d08624c884d5ed1e662c 100644
--- a/Source/core/animation/DocumentTimeline.h
+++ b/Source/core/animation/DocumentTimeline.h
@@ -31,6 +31,7 @@
#ifndef DocumentTimeline_h
#define DocumentTimeline_h
+#include "core/animation/AnimationStack.h"
#include "core/animation/Player.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -50,11 +51,13 @@ public:
PassRefPtr<Player> play(TimedItem*);
double currentTime() { return m_currentTime; }
void pauseAnimationsForTesting(double);
+ AnimationStack& animationStack() { return m_active; }
private:
DocumentTimeline(Document*);
double m_currentTime;
Document* m_document;
+ AnimationStack m_active;
esprehn 2013/07/17 06:48:01 m_animationStack, m_active is not very descriptive
dstockwell 2013/07/17 13:10:19 Done.
Vector<RefPtr<Player> > m_players;
};

Powered by Google App Engine
This is Rietveld 408576698