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

Side by Side Diff: cc/test/proxy_impl_for_test.cc

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use LayerTreeSettings::ToProtobuf, update comments. Created 5 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/test/proxy_impl_for_test.h" 5 #include "cc/test/proxy_impl_for_test.h"
6 6
7 namespace cc { 7 namespace cc {
8 scoped_ptr<ProxyImpl> ProxyImplForTest::Create( 8 scoped_ptr<ProxyImplForTest> ProxyImplForTest::Create(
9 TestHooks* test_hooks, 9 TestHooks* test_hooks,
10 ChannelImpl* channel_impl, 10 ChannelImpl* channel_impl,
11 LayerTreeHost* layer_tree_host, 11 LayerTreeHost* layer_tree_host,
12 TaskRunnerProvider* task_runner_provider, 12 TaskRunnerProvider* task_runner_provider,
13 scoped_ptr<BeginFrameSource> external_begin_frame_source) { 13 scoped_ptr<BeginFrameSource> external_begin_frame_source) {
14 return make_scoped_ptr(new ProxyImplForTest( 14 return make_scoped_ptr(new ProxyImplForTest(
15 test_hooks, channel_impl, layer_tree_host, task_runner_provider, 15 test_hooks, channel_impl, layer_tree_host, task_runner_provider,
16 std::move(external_begin_frame_source))); 16 std::move(external_begin_frame_source)));
17 } 17 }
18 18
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 LayerTreeHost* layer_tree_host, 154 LayerTreeHost* layer_tree_host,
155 base::TimeTicks main_thread_start_time, 155 base::TimeTicks main_thread_start_time,
156 bool hold_commit_for_activation) { 156 bool hold_commit_for_activation) {
157 test_hooks_->StartCommitOnImpl(); 157 test_hooks_->StartCommitOnImpl();
158 ProxyImpl::StartCommitOnImpl(completion, layer_tree_host, 158 ProxyImpl::StartCommitOnImpl(completion, layer_tree_host,
159 main_thread_start_time, 159 main_thread_start_time,
160 hold_commit_for_activation); 160 hold_commit_for_activation);
161 } 161 }
162 162
163 } // namespace cc 163 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698