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/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "cc/animation/animation_events.h" | 9 #include "cc/animation/animation_events.h" |
10 #include "cc/proto/compositor_message.pb.h" | 10 #include "cc/proto/compositor_message.pb.h" |
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 } | 281 } |
282 | 282 |
283 main().started = false; | 283 main().started = false; |
284 main().remote_channel_weak_factory.InvalidateWeakPtrs(); | 284 main().remote_channel_weak_factory.InvalidateWeakPtrs(); |
285 } | 285 } |
286 | 286 |
287 bool RemoteChannelImpl::SupportsImplScrolling() const { | 287 bool RemoteChannelImpl::SupportsImplScrolling() const { |
288 return true; | 288 return true; |
289 } | 289 } |
290 | 290 |
291 void RemoteChannelImpl::SetChildrenNeedBeginFrames( | |
292 bool children_need_begin_frames) { | |
293 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; | |
294 } | |
295 | |
296 void RemoteChannelImpl::SetAuthoritativeVSyncInterval( | 291 void RemoteChannelImpl::SetAuthoritativeVSyncInterval( |
297 const base::TimeDelta& interval) { | 292 const base::TimeDelta& interval) { |
298 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; | 293 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; |
299 } | 294 } |
300 | 295 |
301 void RemoteChannelImpl::UpdateTopControlsState(TopControlsState constraints, | 296 void RemoteChannelImpl::UpdateTopControlsState(TopControlsState constraints, |
302 TopControlsState current, | 297 TopControlsState current, |
303 bool animate) { | 298 bool animate) { |
304 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; | 299 NOTREACHED() << "Should not be called on the remote client LayerTreeHost"; |
305 } | 300 } |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 | 515 |
521 RemoteChannelImpl::CompositorThreadOnly::CompositorThreadOnly( | 516 RemoteChannelImpl::CompositorThreadOnly::CompositorThreadOnly( |
522 base::WeakPtr<RemoteChannelImpl> remote_channel_weak_ptr) | 517 base::WeakPtr<RemoteChannelImpl> remote_channel_weak_ptr) |
523 : proxy_impl(nullptr), | 518 : proxy_impl(nullptr), |
524 proxy_impl_weak_factory(nullptr), | 519 proxy_impl_weak_factory(nullptr), |
525 remote_channel_weak_ptr(remote_channel_weak_ptr) {} | 520 remote_channel_weak_ptr(remote_channel_weak_ptr) {} |
526 | 521 |
527 RemoteChannelImpl::CompositorThreadOnly::~CompositorThreadOnly() {} | 522 RemoteChannelImpl::CompositorThreadOnly::~CompositorThreadOnly() {} |
528 | 523 |
529 } // namespace cc | 524 } // namespace cc |
OLD | NEW |