| 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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 gfx::Rect viewport_rect_for_tile_priority_; | 819 gfx::Rect viewport_rect_for_tile_priority_; |
| 820 bool resourceless_software_draw_; | 820 bool resourceless_software_draw_; |
| 821 | 821 |
| 822 gfx::Rect viewport_damage_rect_; | 822 gfx::Rect viewport_damage_rect_; |
| 823 | 823 |
| 824 std::unique_ptr<MutatorHost> mutator_host_; | 824 std::unique_ptr<MutatorHost> mutator_host_; |
| 825 std::set<VideoFrameController*> video_frame_controllers_; | 825 std::set<VideoFrameController*> video_frame_controllers_; |
| 826 | 826 |
| 827 // Map from scroll element ID to scrollbar animation controller. | 827 // Map from scroll element ID to scrollbar animation controller. |
| 828 // There is one animation controller per pair of overlay scrollbars. | 828 // There is one animation controller per pair of overlay scrollbars. |
| 829 std::unordered_map<ElementId, | 829 std::unordered_map<ElementId, std::unique_ptr<ScrollbarAnimationController>> |
| 830 std::unique_ptr<ScrollbarAnimationController>, | |
| 831 ElementIdHash> | |
| 832 scrollbar_animation_controllers_; | 830 scrollbar_animation_controllers_; |
| 833 | 831 |
| 834 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 832 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 835 MicroBenchmarkControllerImpl micro_benchmark_controller_; | 833 MicroBenchmarkControllerImpl micro_benchmark_controller_; |
| 836 std::unique_ptr<SynchronousTaskGraphRunner> | 834 std::unique_ptr<SynchronousTaskGraphRunner> |
| 837 single_thread_synchronous_task_graph_runner_; | 835 single_thread_synchronous_task_graph_runner_; |
| 838 | 836 |
| 839 // Optional callback to notify of new tree activations. | 837 // Optional callback to notify of new tree activations. |
| 840 base::Closure tree_activation_callback_; | 838 base::Closure tree_activation_callback_; |
| 841 | 839 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 bool touchpad_and_wheel_scroll_latching_enabled_; | 873 bool touchpad_and_wheel_scroll_latching_enabled_; |
| 876 | 874 |
| 877 ImplThreadPhase impl_thread_phase_; | 875 ImplThreadPhase impl_thread_phase_; |
| 878 | 876 |
| 879 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 877 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 880 }; | 878 }; |
| 881 | 879 |
| 882 } // namespace cc | 880 } // namespace cc |
| 883 | 881 |
| 884 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 882 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |