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

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

Issue 185593010: Web Animations: Sort Players in DocumentTimeline::serviceAnimations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add some braces Created 6 years, 9 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.cpp ('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 bd55fef253f04d3769890a722b570bda6d878e38..c0100177334e0e2ea9a9e1b639d4f8fc83d54db8 100644
--- a/Source/core/animation/Player.h
+++ b/Source/core/animation/Player.h
@@ -96,6 +96,8 @@ public:
void cancelAnimationOnCompositor();
bool hasActiveAnimationsOnCompositor();
+ static bool hasLowerPriority(Player*, Player*);
+
private:
Player(DocumentTimeline&, TimedItem*);
double sourceEnd() const;
@@ -121,6 +123,8 @@ private:
// This indicates timing information relevant to the player has changed
bool m_outdated;
+
+ unsigned m_sequenceNumber;
};
} // namespace
« no previous file with comments | « Source/core/animation/DocumentTimeline.cpp ('k') | Source/core/animation/Player.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698