| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_; | 669 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_; |
| 670 | 670 |
| 671 // An object to implement the ScrollElasticityHelper interface and | 671 // An object to implement the ScrollElasticityHelper interface and |
| 672 // hold all state related to elasticity. May be NULL if never requested. | 672 // hold all state related to elasticity. May be NULL if never requested. |
| 673 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; | 673 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; |
| 674 | 674 |
| 675 bool tile_priorities_dirty_; | 675 bool tile_priorities_dirty_; |
| 676 | 676 |
| 677 // The optional delegate for the root layer scroll offset. | 677 // The optional delegate for the root layer scroll offset. |
| 678 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; | 678 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; |
| 679 LayerTreeSettings settings_; | 679 const LayerTreeSettings settings_; |
| 680 LayerTreeDebugState debug_state_; | 680 LayerTreeDebugState debug_state_; |
| 681 bool visible_; | 681 bool visible_; |
| 682 ManagedMemoryPolicy cached_managed_memory_policy_; | 682 ManagedMemoryPolicy cached_managed_memory_policy_; |
| 683 | 683 |
| 684 gfx::Vector2dF accumulated_root_overscroll_; | 684 gfx::Vector2dF accumulated_root_overscroll_; |
| 685 | 685 |
| 686 bool pinch_gesture_active_; | 686 bool pinch_gesture_active_; |
| 687 bool pinch_gesture_end_should_clear_scrolling_layer_; | 687 bool pinch_gesture_end_should_clear_scrolling_layer_; |
| 688 gfx::Point previous_pinch_anchor_; | 688 gfx::Point previous_pinch_anchor_; |
| 689 | 689 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 757 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
| 758 | 758 |
| 759 scoped_ptr<Viewport> viewport_; | 759 scoped_ptr<Viewport> viewport_; |
| 760 | 760 |
| 761 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 761 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 762 }; | 762 }; |
| 763 | 763 |
| 764 } // namespace cc | 764 } // namespace cc |
| 765 | 765 |
| 766 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 766 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |