| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 TreePriority tree_priority) override; | 347 TreePriority tree_priority) override; |
| 348 void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override; | 348 void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override; |
| 349 gfx::ColorSpace GetTileColorSpace() const override; | 349 gfx::ColorSpace GetTileColorSpace() const override; |
| 350 | 350 |
| 351 // ScrollbarAnimationControllerClient implementation. | 351 // ScrollbarAnimationControllerClient implementation. |
| 352 void PostDelayedScrollbarAnimationTask(const base::Closure& task, | 352 void PostDelayedScrollbarAnimationTask(const base::Closure& task, |
| 353 base::TimeDelta delay) override; | 353 base::TimeDelta delay) override; |
| 354 void SetNeedsAnimateForScrollbarAnimation() override; | 354 void SetNeedsAnimateForScrollbarAnimation() override; |
| 355 void SetNeedsRedrawForScrollbarAnimation() override; | 355 void SetNeedsRedrawForScrollbarAnimation() override; |
| 356 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const override; | 356 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const override; |
| 357 void DidChangeScrollbarVisibility() override; |
| 357 | 358 |
| 358 // VideoBeginFrameSource implementation. | 359 // VideoBeginFrameSource implementation. |
| 359 void AddVideoFrameController(VideoFrameController* controller) override; | 360 void AddVideoFrameController(VideoFrameController* controller) override; |
| 360 void RemoveVideoFrameController(VideoFrameController* controller) override; | 361 void RemoveVideoFrameController(VideoFrameController* controller) override; |
| 361 | 362 |
| 362 // CompositorFrameSinkClient implementation. | 363 // CompositorFrameSinkClient implementation. |
| 363 void SetBeginFrameSource(BeginFrameSource* source) override; | 364 void SetBeginFrameSource(BeginFrameSource* source) override; |
| 364 void SetExternalTilePriorityConstraints( | 365 void SetExternalTilePriorityConstraints( |
| 365 const gfx::Rect& viewport_rect, | 366 const gfx::Rect& viewport_rect, |
| 366 const gfx::Transform& transform) override; | 367 const gfx::Transform& transform) override; |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 | 830 |
| 830 std::unique_ptr<PendingTreeDurationHistogramTimer> | 831 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 831 pending_tree_duration_timer_; | 832 pending_tree_duration_timer_; |
| 832 | 833 |
| 833 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 834 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 834 }; | 835 }; |
| 835 | 836 |
| 836 } // namespace cc | 837 } // namespace cc |
| 837 | 838 |
| 838 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 839 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |