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

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

Issue 2231093003: cc: Remove FinishAllRendering, as it doesn't do anything anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finishallrendering: . Created 4 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 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 to_impl_proto->set_message_type( 93 to_impl_proto->set_message_type(
94 proto::CompositorMessageToImpl::SET_DEFER_COMMITS); 94 proto::CompositorMessageToImpl::SET_DEFER_COMMITS);
95 proto::SetDeferCommits* defer_commits_message = 95 proto::SetDeferCommits* defer_commits_message =
96 to_impl_proto->mutable_defer_commits_message(); 96 to_impl_proto->mutable_defer_commits_message();
97 defer_commits_message->set_defer_commits(defer_commits); 97 defer_commits_message->set_defer_commits(defer_commits);
98 98
99 VLOG(1) << "Sending defer commits: " << defer_commits << " to client."; 99 VLOG(1) << "Sending defer commits: " << defer_commits << " to client.";
100 SendMessageProto(proto); 100 SendMessageProto(proto);
101 } 101 }
102 102
103 void RemoteChannelMain::FinishAllRenderingOnImpl(CompletionEvent* completion) {
104 completion->Signal();
105 }
106
107 void RemoteChannelMain::SetVisibleOnImpl(bool visible) { 103 void RemoteChannelMain::SetVisibleOnImpl(bool visible) {
108 NOTIMPLEMENTED() << "Visibility is not controlled by the server"; 104 NOTIMPLEMENTED() << "Visibility is not controlled by the server";
109 } 105 }
110 106
111 void RemoteChannelMain::ReleaseOutputSurfaceOnImpl( 107 void RemoteChannelMain::ReleaseOutputSurfaceOnImpl(
112 CompletionEvent* completion) { 108 CompletionEvent* completion) {
113 NOTREACHED() << "Should not be called on the server LayerTreeHost"; 109 NOTREACHED() << "Should not be called on the server LayerTreeHost";
114 completion->Signal(); 110 completion->Signal();
115 } 111 }
116 112
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 292
297 void RemoteChannelMain::DidCompleteSwapBuffers() { 293 void RemoteChannelMain::DidCompleteSwapBuffers() {
298 proxy_main_->DidCompleteSwapBuffers(); 294 proxy_main_->DidCompleteSwapBuffers();
299 } 295 }
300 296
301 base::SingleThreadTaskRunner* RemoteChannelMain::MainThreadTaskRunner() const { 297 base::SingleThreadTaskRunner* RemoteChannelMain::MainThreadTaskRunner() const {
302 return task_runner_provider_->MainThreadTaskRunner(); 298 return task_runner_provider_->MainThreadTaskRunner();
303 } 299 }
304 300
305 } // namespace cc 301 } // 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