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

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

Issue 19266007: Web Animations: Introduce ActiveAnimations and AnimationStack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/core/animation/DocumentTimeline.h ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/Player.h
diff --git a/Source/core/animation/Player.h b/Source/core/animation/Player.h
index c0a8a8bf7cec76ef60581021d370c5237f3b05f1..3b4e480536e39ae27a751e5c6e5fb71c7310ec3b 100644
--- a/Source/core/animation/Player.h
+++ b/Source/core/animation/Player.h
@@ -41,6 +41,7 @@ class DocumentTimeline;
class Player FINAL : public RefCounted<Player> {
public:
+ ~Player();
static PassRefPtr<Player> create(DocumentTimeline*, TimedItem*);
// Returns whether this player is still current or in effect.
@@ -53,6 +54,7 @@ public:
void setPlaybackRate(double);
double startTime() const { return m_startTime; }
double timeDrift() const;
+ DocumentTimeline* timeline() { return m_timeline; }
private:
Player(DocumentTimeline*, TimedItem*);
« no previous file with comments | « Source/core/animation/DocumentTimeline.h ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698