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

Unified Diff: trunk/src/cc/test/layer_tree_test.h

Issue 359103004: Revert 280493 "Make SingleThreadProxy a SchedulerClient" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/cc/test/fake_layer_tree_host_client.h ('k') | trunk/src/cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/test/layer_tree_test.h
===================================================================
--- trunk/src/cc/test/layer_tree_test.h (revision 280520)
+++ trunk/src/cc/test/layer_tree_test.h (working copy)
@@ -71,6 +71,8 @@
virtual void DidCommit() {}
virtual void DidCommitAndDrawFrame() {}
virtual void DidCompleteSwapBuffers() {}
+ virtual void ScheduleComposite() {}
+ virtual void ScheduleAnimation() {}
virtual void DidDeferCommit() {}
virtual void DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl,
bool visible) {}
@@ -137,6 +139,8 @@
virtual void InitializeSettings(LayerTreeSettings* settings) {}
+ virtual void ScheduleComposite() OVERRIDE;
+
void RealEndTest();
virtual void DispatchAddAnimation(Layer* layer_to_receive_animation,
@@ -147,6 +151,7 @@
void DispatchSetNeedsRedrawRect(const gfx::Rect& damage_rect);
void DispatchSetVisible(bool visible);
void DispatchSetNextCommitForcesRedraw();
+ void DispatchComposite();
void DispatchDidAddAnimation();
virtual void AfterTest() = 0;
@@ -199,6 +204,7 @@
bool end_when_begin_returns_;
bool timed_out_;
bool scheduled_;
+ bool schedule_when_set_visible_true_;
bool started_;
bool ended_;
bool delegating_renderer_;
« no previous file with comments | « trunk/src/cc/test/fake_layer_tree_host_client.h ('k') | trunk/src/cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698