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

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

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
Patch Set: Rebase Created 4 years, 8 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_impl.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_impl.h" 5 #include "cc/trees/remote_channel_impl.h"
6 6
7 #include "base/bind_helpers.h" 7 #include "base/bind_helpers.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "cc/animation/animation_events.h" 10 #include "cc/animation/animation_events.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 293 }
294 294
295 main().started = false; 295 main().started = false;
296 main().remote_channel_weak_factory.InvalidateWeakPtrs(); 296 main().remote_channel_weak_factory.InvalidateWeakPtrs();
297 } 297 }
298 298
299 bool RemoteChannelImpl::SupportsImplScrolling() const { 299 bool RemoteChannelImpl::SupportsImplScrolling() const {
300 return true; 300 return true;
301 } 301 }
302 302
303 void RemoteChannelImpl::SetChildrenNeedBeginFrames(
304 bool children_need_begin_frames) {
305 NOTREACHED() << "Should not be called on the remote client LayerTreeHost";
306 }
307
308 void RemoteChannelImpl::SetAuthoritativeVSyncInterval( 303 void RemoteChannelImpl::SetAuthoritativeVSyncInterval(
309 const base::TimeDelta& interval) { 304 const base::TimeDelta& interval) {
310 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; 305 NOTREACHED() << "Should not be called on the remote client LayerTreeHost";
311 } 306 }
312 307
313 void RemoteChannelImpl::UpdateTopControlsState(TopControlsState constraints, 308 void RemoteChannelImpl::UpdateTopControlsState(TopControlsState constraints,
314 TopControlsState current, 309 TopControlsState current,
315 bool animate) { 310 bool animate) {
316 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; 311 NOTREACHED() << "Should not be called on the remote client LayerTreeHost";
317 } 312 }
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 532
538 RemoteChannelImpl::CompositorThreadOnly::CompositorThreadOnly( 533 RemoteChannelImpl::CompositorThreadOnly::CompositorThreadOnly(
539 base::WeakPtr<RemoteChannelImpl> remote_channel_weak_ptr) 534 base::WeakPtr<RemoteChannelImpl> remote_channel_weak_ptr)
540 : proxy_impl(nullptr), 535 : proxy_impl(nullptr),
541 proxy_impl_weak_factory(nullptr), 536 proxy_impl_weak_factory(nullptr),
542 remote_channel_weak_ptr(remote_channel_weak_ptr) {} 537 remote_channel_weak_ptr(remote_channel_weak_ptr) {}
543 538
544 RemoteChannelImpl::CompositorThreadOnly::~CompositorThreadOnly() {} 539 RemoteChannelImpl::CompositorThreadOnly::~CompositorThreadOnly() {}
545 540
546 } // namespace cc 541 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/remote_channel_impl.h ('k') | cc/trees/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698