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

Unified Diff: webkit/compositor_bindings/web_layer_tree_view_impl.h

Issue 11830056: Enable accelerated animations for orphaned layers (Closed) Base URL: http://git.chromium.org/chromium/src.git@MakeLayerTreeHostAnimateLayersTakeWallClockTime
Patch Set: Created 7 years, 11 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: webkit/compositor_bindings/web_layer_tree_view_impl.h
diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.h b/webkit/compositor_bindings/web_layer_tree_view_impl.h
index 16e555e488ffd8247a8bbb27d72c332400e1fe80..fa9610e40b237b9409bb1cd193c467595dbdfef9 100644
--- a/webkit/compositor_bindings/web_layer_tree_view_impl.h
+++ b/webkit/compositor_bindings/web_layer_tree_view_impl.h
@@ -49,13 +49,12 @@ public:
virtual void setNeedsRedraw() OVERRIDE;
virtual bool commitRequested() const OVERRIDE;
virtual void composite() OVERRIDE;
- // TODO(ajuma): Remove this after the WebKit patch to use the 2-argument version lands.
- virtual void updateAnimations(double frameBeginTime);
- virtual void updateAnimations(double monotonicFrameBeginTime, double wallClockFrameBeginTime);
+ virtual void updateAnimations(double monotonicFrameBeginTime, double wallClockFrameBeginTime) OVERRIDE;
virtual void didStopFlinging() OVERRIDE;
virtual bool compositeAndReadback(void *pixels, const WebRect&) OVERRIDE;
virtual void finishAllRendering() OVERRIDE;
virtual void setDeferCommits(bool deferCommits) OVERRIDE;
+ virtual void registerForAnimations(WebLayer* layer) OVERRIDE;
virtual void renderingStats(WebRenderingStats&) const OVERRIDE;
virtual void setShowFPSCounter(bool show);
virtual void setShowPaintRects(bool show);

Powered by Google App Engine
This is Rietveld 408576698