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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 void SetPropertyTrees(PropertyTrees* property_trees); | 133 void SetPropertyTrees(PropertyTrees* property_trees); |
134 PropertyTrees* property_trees() { return &property_trees_; } | 134 PropertyTrees* property_trees() { return &property_trees_; } |
135 | 135 |
136 void UpdatePropertyTreesForBoundsDelta(); | 136 void UpdatePropertyTreesForBoundsDelta(); |
137 | 137 |
138 void PushPropertiesTo(LayerTreeImpl* tree_impl); | 138 void PushPropertiesTo(LayerTreeImpl* tree_impl); |
139 | 139 |
140 void MoveChangeTrackingToLayers(); | 140 void MoveChangeTrackingToLayers(); |
141 | 141 |
| 142 void ForceRecalculateRasterScales(); |
| 143 |
142 LayerImplList::const_iterator begin() const; | 144 LayerImplList::const_iterator begin() const; |
143 LayerImplList::const_iterator end() const; | 145 LayerImplList::const_iterator end() const; |
144 LayerImplList::reverse_iterator rbegin(); | 146 LayerImplList::reverse_iterator rbegin(); |
145 LayerImplList::reverse_iterator rend(); | 147 LayerImplList::reverse_iterator rend(); |
146 | 148 |
147 void AddToOpacityAnimationsMap(int id, float opacity); | 149 void AddToOpacityAnimationsMap(int id, float opacity); |
148 void AddToTransformAnimationsMap(int id, gfx::Transform transform); | 150 void AddToTransformAnimationsMap(int id, gfx::Transform transform); |
149 void AddToFilterAnimationsMap(int id, const FilterOperations& filters); | 151 void AddToFilterAnimationsMap(int id, const FilterOperations& filters); |
150 | 152 |
151 int source_frame_number() const { return source_frame_number_; } | 153 int source_frame_number() const { return source_frame_number_; } |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 | 562 |
561 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 563 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
562 | 564 |
563 private: | 565 private: |
564 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 566 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
565 }; | 567 }; |
566 | 568 |
567 } // namespace cc | 569 } // namespace cc |
568 | 570 |
569 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 571 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |