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

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

Issue 23874019: Web Animations CSS: Start running animations on the compositor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 7 years, 1 month 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/Player.h
diff --git a/Source/core/animation/Player.h b/Source/core/animation/Player.h
index b4b4d81c1a9e7f2a5efb6657b73e4704984a95f0..fc1d5cf68b8acb5332ff056182d36cb6c88d5265 100644
--- a/Source/core/animation/Player.h
+++ b/Source/core/animation/Player.h
@@ -75,11 +75,16 @@ public:
// Reflects all pausing, including via pauseForTesting().
bool pausedInternal() const { return !isNull(m_pauseStartTime); }
+ bool maybeStartCompositorAnimations();
+ void cancelCompositorAnimations();
+
private:
Player(DocumentTimeline&, TimedItem*);
inline double pausedTimeDrift() const;
inline double currentTimeBeforeDrift() const;
+ bool isRunningCompositorAnimations();
+
void setPausedImpl(bool);
double m_pauseStartTime;

Powered by Google App Engine
This is Rietveld 408576698