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

Side by Side Diff: cc/trees/remote_channel_main.cc

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 1 month 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
« no previous file with comments | « cc/trees/remote_channel_main.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/trees/remote_channel_main.h" 5 #include "cc/trees/remote_channel_main.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "cc/proto/base_conversions.h" 10 #include "cc/proto/base_conversions.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 void RemoteChannelMain::OnProtoReceived( 52 void RemoteChannelMain::OnProtoReceived(
53 std::unique_ptr<proto::CompositorMessage> proto) { 53 std::unique_ptr<proto::CompositorMessage> proto) {
54 TRACE_EVENT0("cc.remote", "RemoteChannelMain::OnProtoReceived"); 54 TRACE_EVENT0("cc.remote", "RemoteChannelMain::OnProtoReceived");
55 DCHECK(task_runner_provider_->IsMainThread()); 55 DCHECK(task_runner_provider_->IsMainThread());
56 DCHECK(proto->has_to_main()); 56 DCHECK(proto->has_to_main());
57 57
58 HandleProto(proto->to_main()); 58 HandleProto(proto->to_main());
59 } 59 }
60 60
61 void RemoteChannelMain::UpdateTopControlsStateOnImpl( 61 void RemoteChannelMain::UpdateBrowserControlsStateOnImpl(
62 TopControlsState constraints, 62 BrowserControlsState constraints,
63 TopControlsState current, 63 BrowserControlsState current,
64 bool animate) {} 64 bool animate) {}
65 65
66 void RemoteChannelMain::InitializeCompositorFrameSinkOnImpl( 66 void RemoteChannelMain::InitializeCompositorFrameSinkOnImpl(
67 CompositorFrameSink*) { 67 CompositorFrameSink*) {
68 NOTREACHED() << "Should not be called on the server LayerTreeHost"; 68 NOTREACHED() << "Should not be called on the server LayerTreeHost";
69 } 69 }
70 70
71 void RemoteChannelMain::InitializeMutatorOnImpl( 71 void RemoteChannelMain::InitializeMutatorOnImpl(
72 std::unique_ptr<LayerTreeMutator> mutator) { 72 std::unique_ptr<LayerTreeMutator> mutator) {
73 // TODO(vollick): add support for CompositorWorker. 73 // TODO(vollick): add support for CompositorWorker.
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 269
270 void RemoteChannelMain::DidReceiveCompositorFrameAck() { 270 void RemoteChannelMain::DidReceiveCompositorFrameAck() {
271 proxy_main_->DidReceiveCompositorFrameAck(); 271 proxy_main_->DidReceiveCompositorFrameAck();
272 } 272 }
273 273
274 base::SingleThreadTaskRunner* RemoteChannelMain::MainThreadTaskRunner() const { 274 base::SingleThreadTaskRunner* RemoteChannelMain::MainThreadTaskRunner() const {
275 return task_runner_provider_->MainThreadTaskRunner(); 275 return task_runner_provider_->MainThreadTaskRunner();
276 } 276 }
277 277
278 } // namespace cc 278 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/remote_channel_main.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698