| 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 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 bool pinch_gesture_end_should_clear_scrolling_layer_; | 783 bool pinch_gesture_end_should_clear_scrolling_layer_; |
| 784 | 784 |
| 785 std::unique_ptr<TopControlsManager> top_controls_manager_; | 785 std::unique_ptr<TopControlsManager> top_controls_manager_; |
| 786 | 786 |
| 787 std::unique_ptr<PageScaleAnimation> page_scale_animation_; | 787 std::unique_ptr<PageScaleAnimation> page_scale_animation_; |
| 788 | 788 |
| 789 std::unique_ptr<FrameRateCounter> fps_counter_; | 789 std::unique_ptr<FrameRateCounter> fps_counter_; |
| 790 std::unique_ptr<MemoryHistory> memory_history_; | 790 std::unique_ptr<MemoryHistory> memory_history_; |
| 791 std::unique_ptr<DebugRectHistory> debug_rect_history_; | 791 std::unique_ptr<DebugRectHistory> debug_rect_history_; |
| 792 | 792 |
| 793 std::unique_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; | |
| 794 | |
| 795 // The maximum memory that would be used by the prioritized resource | 793 // The maximum memory that would be used by the prioritized resource |
| 796 // manager, if there were no limit on memory usage. | 794 // manager, if there were no limit on memory usage. |
| 797 size_t max_memory_needed_bytes_; | 795 size_t max_memory_needed_bytes_; |
| 798 | 796 |
| 799 // Viewport size passed in from the main thread, in physical pixels. This | 797 // Viewport size passed in from the main thread, in physical pixels. This |
| 800 // value is the default size for all concepts of physical viewport (draw | 798 // value is the default size for all concepts of physical viewport (draw |
| 801 // viewport, scrolling viewport and device viewport), but it can be | 799 // viewport, scrolling viewport and device viewport), but it can be |
| 802 // overridden. | 800 // overridden. |
| 803 gfx::Size device_viewport_size_; | 801 gfx::Size device_viewport_size_; |
| 804 | 802 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 | 845 |
| 848 std::unique_ptr<PendingTreeDurationHistogramTimer> | 846 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 849 pending_tree_duration_timer_; | 847 pending_tree_duration_timer_; |
| 850 | 848 |
| 851 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 849 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 852 }; | 850 }; |
| 853 | 851 |
| 854 } // namespace cc | 852 } // namespace cc |
| 855 | 853 |
| 856 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 854 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |