OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 RenderSurfaceImpl* RootRenderSurface() const; | 125 RenderSurfaceImpl* RootRenderSurface() const; |
126 bool LayerListIsEmpty() const; | 126 bool LayerListIsEmpty() const; |
127 void SetRootLayerForTesting(std::unique_ptr<LayerImpl>); | 127 void SetRootLayerForTesting(std::unique_ptr<LayerImpl>); |
128 void OnCanDrawStateChangedForTree(); | 128 void OnCanDrawStateChangedForTree(); |
129 bool IsRootLayer(const LayerImpl* layer) const; | 129 bool IsRootLayer(const LayerImpl* layer) const; |
130 std::unique_ptr<OwnedLayerImplList> DetachLayers(); | 130 std::unique_ptr<OwnedLayerImplList> DetachLayers(); |
131 | 131 |
132 void SetPropertyTrees(PropertyTrees* property_trees); | 132 void SetPropertyTrees(PropertyTrees* property_trees); |
133 PropertyTrees* property_trees() { return &property_trees_; } | 133 PropertyTrees* property_trees() { return &property_trees_; } |
134 | 134 |
135 void UpdatePropertyTreesForBoundsDelta(); | |
136 | |
137 void PushPropertiesTo(LayerTreeImpl* tree_impl); | 135 void PushPropertiesTo(LayerTreeImpl* tree_impl); |
138 | 136 |
139 void MoveChangeTrackingToLayers(); | 137 void MoveChangeTrackingToLayers(); |
140 | 138 |
141 void ForceRecalculateRasterScales(); | 139 void ForceRecalculateRasterScales(); |
142 | 140 |
143 LayerImplList::const_iterator begin() const; | 141 LayerImplList::const_iterator begin() const; |
144 LayerImplList::const_iterator end() const; | 142 LayerImplList::const_iterator end() const; |
145 LayerImplList::reverse_iterator rbegin(); | 143 LayerImplList::reverse_iterator rbegin(); |
146 LayerImplList::reverse_iterator rend(); | 144 LayerImplList::reverse_iterator rend(); |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 | 581 |
584 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 582 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
585 | 583 |
586 private: | 584 private: |
587 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 585 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
588 }; | 586 }; |
589 | 587 |
590 } // namespace cc | 588 } // namespace cc |
591 | 589 |
592 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 590 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |