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

Unified Diff: public/platform/WebCompositorSupport.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 | « public/platform/WebCompositorAnimationDelegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCompositorSupport.h
diff --git a/public/platform/WebCompositorSupport.h b/public/platform/WebCompositorSupport.h
index 573fdc1186dc552e5f2c868cc93ddba2b21f6609..af3abb149c40a17dbbe0ffc3c4667aa9bfd8ad8c 100644
--- a/public/platform/WebCompositorSupport.h
+++ b/public/platform/WebCompositorSupport.h
@@ -26,6 +26,8 @@
#ifndef WebCompositorSupport_h
#define WebCompositorSupport_h
+#define WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP 1
+
#include "WebCommon.h"
#include "WebCompositorAnimation.h"
#include "WebCompositorAnimationCurve.h"
@@ -82,7 +84,7 @@ public:
// Animation ----------------------------------------------------
- virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimationCurve&, WebCompositorAnimation::TargetProperty, int animationId = 0) { return 0; }
+ virtual WebCompositorAnimation* createAnimation(const WebCompositorAnimationCurve&, WebCompositorAnimation::TargetProperty, int groupId = 0, int animationId = 0) { return 0; }
virtual WebFilterAnimationCurve* createFilterAnimationCurve() { return 0; }
« no previous file with comments | « public/platform/WebCompositorAnimationDelegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698