Chromium Code Reviews| 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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 787 gfx::Rect viewport_damage_rect_; | 787 gfx::Rect viewport_damage_rect_; |
| 788 | 788 |
| 789 std::unique_ptr<MutatorHost> mutator_host_; | 789 std::unique_ptr<MutatorHost> mutator_host_; |
| 790 std::set<VideoFrameController*> video_frame_controllers_; | 790 std::set<VideoFrameController*> video_frame_controllers_; |
| 791 | 791 |
| 792 // Map from scroll layer ID to scrollbar animation controller. | 792 // Map from scroll layer ID to scrollbar animation controller. |
| 793 // There is one animation controller per pair of overlay scrollbars. | 793 // There is one animation controller per pair of overlay scrollbars. |
| 794 std::unordered_map<int, std::unique_ptr<ScrollbarAnimationController>> | 794 std::unordered_map<int, std::unique_ptr<ScrollbarAnimationController>> |
| 795 scrollbar_animation_controllers_; | 795 scrollbar_animation_controllers_; |
| 796 | 796 |
| 797 ScrollbarAnimationController* captured_animation_controller_; | |
|
bokan
2017/02/10 16:53:48
captured_scrollbar_animation_controller_
| |
| 798 | |
| 797 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 799 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 798 MicroBenchmarkControllerImpl micro_benchmark_controller_; | 800 MicroBenchmarkControllerImpl micro_benchmark_controller_; |
| 799 std::unique_ptr<SynchronousTaskGraphRunner> | 801 std::unique_ptr<SynchronousTaskGraphRunner> |
| 800 single_thread_synchronous_task_graph_runner_; | 802 single_thread_synchronous_task_graph_runner_; |
| 801 | 803 |
| 802 // Optional callback to notify of new tree activations. | 804 // Optional callback to notify of new tree activations. |
| 803 base::Closure tree_activation_callback_; | 805 base::Closure tree_activation_callback_; |
| 804 | 806 |
| 805 TaskGraphRunner* task_graph_runner_; | 807 TaskGraphRunner* task_graph_runner_; |
| 806 int id_; | 808 int id_; |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 820 | 822 |
| 821 std::unique_ptr<PendingTreeDurationHistogramTimer> | 823 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 822 pending_tree_duration_timer_; | 824 pending_tree_duration_timer_; |
| 823 | 825 |
| 824 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 826 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 825 }; | 827 }; |
| 826 | 828 |
| 827 } // namespace cc | 829 } // namespace cc |
| 828 | 830 |
| 829 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 831 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |