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

Unified Diff: public/platform/WebCompositorAnimationDelegate.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/WebCompositorAnimation.h ('k') | public/platform/WebCompositorSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCompositorAnimationDelegate.h
diff --git a/public/platform/WebCompositorAnimationDelegate.h b/public/platform/WebCompositorAnimationDelegate.h
index 885c0fc702b4182bf1107d6de591af7d845fcc15..5bf043a3c4e593e5dcfa5cd6c9051a8906e78ce6 100644
--- a/public/platform/WebCompositorAnimationDelegate.h
+++ b/public/platform/WebCompositorAnimationDelegate.h
@@ -8,7 +8,7 @@
#include "WebCommon.h"
#include "WebCompositorAnimation.h"
-#define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1
+#define WEB_COMPOSITOR_ANIMATION_DELEGATE_TAKES_GROUP 1
namespace blink {
@@ -16,8 +16,8 @@ class BLINK_PLATFORM_EXPORT WebCompositorAnimationDelegate {
public:
virtual ~WebCompositorAnimationDelegate() { }
- virtual void notifyAnimationStarted(double monotonicTime, WebCompositorAnimation::TargetProperty) = 0;
- virtual void notifyAnimationFinished(double monotonicTime, WebCompositorAnimation::TargetProperty) = 0;
+ virtual void notifyAnimationStarted(double monotonicTime, int group) = 0;
+ virtual void notifyAnimationFinished(double monotonicTime, int group) = 0;
};
} // namespace blink
« no previous file with comments | « public/platform/WebCompositorAnimation.h ('k') | public/platform/WebCompositorSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698