| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(); |
| 162 LayerListIterator<LayerImpl> end(); | 162 LayerListIterator<LayerImpl> end(); |
| 163 LayerListIterator<LayerImpl> begin() const; |
| 164 LayerListIterator<LayerImpl> end() const; |
| 163 LayerListReverseIterator<LayerImpl> rbegin(); | 165 LayerListReverseIterator<LayerImpl> rbegin(); |
| 164 LayerListReverseIterator<LayerImpl> rend(); | 166 LayerListReverseIterator<LayerImpl> rend(); |
| 165 | 167 |
| 166 struct CC_EXPORT ElementLayers { | 168 struct CC_EXPORT ElementLayers { |
| 167 // Transform and opacity mutations apply to this layer. | 169 // Transform and opacity mutations apply to this layer. |
| 168 LayerImpl* main = nullptr; | 170 LayerImpl* main = nullptr; |
| 169 // Scroll mutations apply to this layer. | 171 // Scroll mutations apply to this layer. |
| 170 LayerImpl* scroll = nullptr; | 172 LayerImpl* scroll = nullptr; |
| 171 }; | 173 }; |
| 172 | 174 |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 | 588 |
| 587 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 589 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 588 | 590 |
| 589 private: | 591 private: |
| 590 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 592 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 591 }; | 593 }; |
| 592 | 594 |
| 593 } // namespace cc | 595 } // namespace cc |
| 594 | 596 |
| 595 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 597 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |