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

Unified Diff: Source/platform/graphics/GraphicsLayerClient.h

Issue 652593003: Web Animations: Plumb compositor group id through animation creation and start/finish notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass groupId to createAnimation. Created 6 years, 2 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/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/GraphicsLayerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsLayerClient.h
diff --git a/Source/platform/graphics/GraphicsLayerClient.h b/Source/platform/graphics/GraphicsLayerClient.h
index 022ca3107488bfc95b2fadf193213bd4891da151..d422b585040683ba5b51f24433eb4672409e5176 100644
--- a/Source/platform/graphics/GraphicsLayerClient.h
+++ b/Source/platform/graphics/GraphicsLayerClient.h
@@ -60,8 +60,8 @@ class PLATFORM_EXPORT GraphicsLayerClient {
public:
virtual ~GraphicsLayerClient() {}
- // Callback for when hardware-accelerated animation started.
- virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) = 0;
+ // Callback for when compositor animation started.
+ virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int group) { };
virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) = 0;
virtual bool isTrackingPaintInvalidations() const { return false; }
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/GraphicsLayerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698