Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 2840433002: Move LayerImpl's bounds_delta to property trees (Closed)
Patch Set: Document ViewportBoundsDelta better Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698