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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 property_trees_.effect_tree.set_needs_update(true); | 151 property_trees_.effect_tree.set_needs_update(true); |
152 } | 152 } |
153 PropertyTrees* property_trees() { return &property_trees_; } | 153 PropertyTrees* property_trees() { return &property_trees_; } |
154 | 154 |
155 void UpdatePropertyTreesForBoundsDelta(); | 155 void UpdatePropertyTreesForBoundsDelta(); |
156 | 156 |
157 void PushPropertiesTo(LayerTreeImpl* tree_impl); | 157 void PushPropertiesTo(LayerTreeImpl* tree_impl); |
158 | 158 |
159 void MoveChangeTrackingToLayers(); | 159 void MoveChangeTrackingToLayers(); |
160 | 160 |
161 LayerListIterator<LayerImpl> begin(); | 161 LayerListIterator<LayerImpl> begin() const; |
162 LayerListIterator<LayerImpl> end(); | 162 LayerListIterator<LayerImpl> end() const; |
163 LayerListReverseIterator<LayerImpl> rbegin(); | 163 LayerListReverseIterator<LayerImpl> rbegin(); |
164 LayerListReverseIterator<LayerImpl> rend(); | 164 LayerListReverseIterator<LayerImpl> rend(); |
165 | 165 |
166 struct CC_EXPORT ElementLayers { | 166 struct CC_EXPORT ElementLayers { |
167 // Transform and opacity mutations apply to this layer. | 167 // Transform and opacity mutations apply to this layer. |
168 LayerImpl* main = nullptr; | 168 LayerImpl* main = nullptr; |
169 // Scroll mutations apply to this layer. | 169 // Scroll mutations apply to this layer. |
170 LayerImpl* scroll = nullptr; | 170 LayerImpl* scroll = nullptr; |
171 }; | 171 }; |
172 | 172 |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 | 586 |
587 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 587 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
588 | 588 |
589 private: | 589 private: |
590 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 590 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
591 }; | 591 }; |
592 | 592 |
593 } // namespace cc | 593 } // namespace cc |
594 | 594 |
595 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 595 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |