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

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: Fix nit 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
« no previous file with comments | « cc/test/animation_test_common.cc ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 686065bbe3bf56902c818a7997491c37d4e8e1a6..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 WebKit bug 106594 (which switches to using 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);
« no previous file with comments | « cc/test/animation_test_common.cc ('k') | webkit/compositor_bindings/web_layer_tree_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698