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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 // In impl-side painting mode, tree with possibly incomplete rasterized | 715 // In impl-side painting mode, tree with possibly incomplete rasterized |
716 // content. May be promoted to active by ActivatePendingTree(). | 716 // content. May be promoted to active by ActivatePendingTree(). |
717 scoped_ptr<LayerTreeImpl> pending_tree_; | 717 scoped_ptr<LayerTreeImpl> pending_tree_; |
718 | 718 |
719 // In impl-side painting mode, inert tree with layers that can be recycled | 719 // In impl-side painting mode, inert tree with layers that can be recycled |
720 // by the next sync from the main thread. | 720 // by the next sync from the main thread. |
721 scoped_ptr<LayerTreeImpl> recycle_tree_; | 721 scoped_ptr<LayerTreeImpl> recycle_tree_; |
722 | 722 |
723 InputHandlerClient* input_handler_client_; | 723 InputHandlerClient* input_handler_client_; |
724 bool did_lock_scrolling_layer_; | 724 bool did_lock_scrolling_layer_; |
725 bool should_bubble_scrolls_; | |
726 bool wheel_scrolling_; | 725 bool wheel_scrolling_; |
727 bool scroll_affects_scroll_handler_; | 726 bool scroll_affects_scroll_handler_; |
728 int scroll_layer_id_when_mouse_over_scrollbar_; | 727 int scroll_layer_id_when_mouse_over_scrollbar_; |
729 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_; | 728 ScopedPtrVector<SwapPromise> swap_promises_for_main_thread_scroll_update_; |
730 | 729 |
731 // An object to implement the ScrollElasticityHelper interface and | 730 // An object to implement the ScrollElasticityHelper interface and |
732 // hold all state related to elasticity. May be NULL if never requested. | 731 // hold all state related to elasticity. May be NULL if never requested. |
733 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; | 732 scoped_ptr<ScrollElasticityHelper> scroll_elasticity_helper_; |
734 | 733 |
735 bool tile_priorities_dirty_; | 734 bool tile_priorities_dirty_; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 806 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
808 | 807 |
809 scoped_ptr<Viewport> viewport_; | 808 scoped_ptr<Viewport> viewport_; |
810 | 809 |
811 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 810 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
812 }; | 811 }; |
813 | 812 |
814 } // namespace cc | 813 } // namespace cc |
815 | 814 |
816 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 815 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |