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

Unified Diff: cc/trees/layer_tree_host_client.h

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a typo that made tests fail. Created 6 years, 4 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: cc/trees/layer_tree_host_client.h
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
index 74dcbc0cff24631873737c4cdc42341e1051f4ed..afde7aeb92337c9f49bf8d15fdd8ba94ee910d03 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -17,6 +17,7 @@ namespace cc {
class ContextProvider;
class InputHandlerClient;
class OutputSurface;
+struct BeginFrameArgs;
mithro-old 2014/08/11 07:33:33 What is the chrome policy of doing this rather tha
Sami 2014/08/11 17:51:26 It's to cut down on time spent parsing the same he
class LayerTreeHostClient {
public:
@@ -24,7 +25,7 @@ class LayerTreeHostClient {
// Marks finishing compositing-related tasks on the main thread. In threaded
// mode, this corresponds to DidCommit().
virtual void DidBeginMainFrame() = 0;
- virtual void Animate(base::TimeTicks frame_begin_time) = 0;
+ virtual void BeginMainFrame(const BeginFrameArgs& args) = 0;
virtual void Layout() = 0;
virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
float page_scale) = 0;

Powered by Google App Engine
This is Rietveld 408576698