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

Unified Diff: cc/blimp/layer_tree_host_remote.cc

Issue 2401703002: cc/blimp: Set up the framework for LayerTreeTests in remote mode. (Closed)
Patch Set: Rebase Created 4 years, 2 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/blimp/layer_tree_host_remote.h ('k') | cc/test/layer_tree_host_remote_for_testing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_remote.cc
diff --git a/cc/blimp/layer_tree_host_remote.cc b/cc/blimp/layer_tree_host_remote.cc
index 470c71ba3a156315d5591fc9b5b145102c5cddfd..f4136c01ff648846311573feb4f02d8bac17625d 100644
--- a/cc/blimp/layer_tree_host_remote.cc
+++ b/cc/blimp/layer_tree_host_remote.cc
@@ -428,6 +428,11 @@ void LayerTreeHostRemote::DispatchDrawAndSwapCallbacks() {
client_->DidCompleteSwapBuffers();
}
+void LayerTreeHostRemote::SetTaskRunnerProviderForTesting(
+ std::unique_ptr<TaskRunnerProvider> task_runner_provider) {
+ task_runner_provider_ = std::move(task_runner_provider);
+}
+
void LayerTreeHostRemote::SerializeCurrentState(
proto::LayerTreeHost* layer_tree_host_proto) {
// We need to serialize only the inputs received from the embedder.
« no previous file with comments | « cc/blimp/layer_tree_host_remote.h ('k') | cc/test/layer_tree_host_remote_for_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698