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

Unified Diff: cc/test/layer_tree_test.h

Issue 22926024: cc: Control activation from the Scheduler (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedOutputSurface4
Patch Set: BlockNotifyReadyToActivateForTesting Created 7 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/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 3191e5b7ab21a8064e7f868f39a87b66ad1a4796..2033a68b07acdce1cc97cf2a58510b6c72b1ded5 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -31,6 +31,8 @@ class TestHooks : public AnimationDelegate {
void ReadSettings(const LayerTreeSettings& settings);
+ virtual void WillBeginFrameOnThread(LayerTreeHostImpl* host_impl,
+ const BeginFrameArgs& args) {}
virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) {}
virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) {}
virtual void WillActivateTreeOnThread(LayerTreeHostImpl* host_impl) {}
@@ -64,8 +66,6 @@ class TestHooks : public AnimationDelegate {
virtual void DidCompleteSwapBuffers() {}
virtual void ScheduleComposite() {}
virtual void DidDeferCommit() {}
- virtual bool CanActivatePendingTree(LayerTreeHostImpl* host_impl);
- virtual bool CanActivatePendingTreeIfNeeded(LayerTreeHostImpl* host_impl);
virtual void DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl,
bool visible) {}

Powered by Google App Engine
This is Rietveld 408576698