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

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

Issue 1945813002: cc: Make LayerTreeImpl dump layer list to FrameViewer and Devtools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve comments Created 4 years, 6 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.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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698