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

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: Dump every layer in layout test and rebaseline the expectations 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
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
vmpstr 2016/06/01 18:47:58 Please change this in one of the following ways (e
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698