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

Unified Diff: cc/layer_tree_host.h

Issue 11783101: Make LayerTreeHost::animateLayers take a wall clock time in addition to a monotonic time (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | webkit/compositor_bindings/web_layer_tree_view_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 67ac48c057bc6ea963419c4a5d34034bf2e5ae6c..6967f23e77419a005be9dcd121dcdb0fdee12057 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -89,7 +89,7 @@ public:
// LayerTreeHost interface to Proxy.
void willBeginFrame() { m_client->willBeginFrame(); }
void didBeginFrame();
- void updateAnimations(base::TimeTicks monotonicFrameBeginTime);
+ void updateAnimations(base::TimeTicks monotonicFrameBeginTime, base::Time wallClockTime);
void didStopFlinging();
void layout();
void beginCommitOnImplThread(LayerTreeHostImpl*);
@@ -226,7 +226,7 @@ private:
void setPrioritiesForLayers(const LayerList&);
size_t calculateMemoryForRenderSurfaces(const LayerList& updateList);
- void animateLayers(base::TimeTicks monotonicTime);
+ void animateLayers(base::TimeTicks monotonicTime, base::Time wallClockTime);
bool animateLayersRecursive(Layer* current, base::TimeTicks time);
void setAnimationEventsRecursive(const AnimationEventsVector&, Layer*, base::Time wallClockTime);
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | webkit/compositor_bindings/web_layer_tree_view_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698