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

Unified Diff: public/platform/WebLayerTreeView.h

Issue 946323002: Animations: Introduce compositor AnimationPlayer and AnimationTimeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Support multiple timelines. Created 5 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
Index: public/platform/WebLayerTreeView.h
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h
index bcc5f1e858d19d0aecc2c98df715b938dc137bec..af13fc7fd08505b4b2a320816b345e45f94df845 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -39,6 +39,7 @@ class SkBitmap;
namespace blink {
class WebCompositeAndReadbackAsyncCallback;
+class WebCompositorAnimationTimeline;
class WebLayer;
struct WebPoint;
struct WebSelectionBound;
@@ -54,6 +55,8 @@ public:
virtual void setRootLayer(const WebLayer&) = 0;
virtual void clearRootLayer() = 0;
+ virtual void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*) { }
+ virtual void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*) { }
// View properties ---------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698