OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |