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

Side by Side Diff: cc/trees/layer_tree_host_common.cc

Issue 2751783002: cc: Replace LayerIterator with iterator that walks layer list and effect tree (Closed)
Patch Set: Clean up #includes Created 3 years, 9 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #include "cc/trees/layer_tree_host_common.h" 5 #include "cc/trees/layer_tree_host_common.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/containers/adapters.h" 11 #include "base/containers/adapters.h"
12 #include "base/trace_event/trace_event.h" 12 #include "base/trace_event/trace_event.h"
13 #include "cc/base/math_util.h" 13 #include "cc/base/math_util.h"
14 #include "cc/layers/heads_up_display_layer_impl.h" 14 #include "cc/layers/heads_up_display_layer_impl.h"
15 #include "cc/layers/layer.h" 15 #include "cc/layers/layer.h"
16 #include "cc/layers/layer_impl.h" 16 #include "cc/layers/layer_impl.h"
17 #include "cc/layers/layer_iterator.h"
18 #include "cc/trees/draw_property_utils.h" 17 #include "cc/trees/draw_property_utils.h"
19 #include "cc/trees/effect_node.h" 18 #include "cc/trees/effect_node.h"
20 #include "cc/trees/layer_tree_host.h" 19 #include "cc/trees/layer_tree_host.h"
21 #include "cc/trees/layer_tree_impl.h" 20 #include "cc/trees/layer_tree_impl.h"
22 #include "cc/trees/property_tree_builder.h" 21 #include "cc/trees/property_tree_builder.h"
23 #include "cc/trees/scroll_node.h" 22 #include "cc/trees/scroll_node.h"
24 #include "ui/gfx/geometry/rect_conversions.h" 23 #include "ui/gfx/geometry/rect_conversions.h"
25 #include "ui/gfx/geometry/vector2d_conversions.h" 24 #include "ui/gfx/geometry/vector2d_conversions.h"
26 #include "ui/gfx/transform.h" 25 #include "ui/gfx/transform.h"
27 #include "ui/gfx/transform_util.h" 26 #include "ui/gfx/transform_util.h"
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 643
645 PropertyTrees* GetPropertyTrees(Layer* layer) { 644 PropertyTrees* GetPropertyTrees(Layer* layer) {
646 return layer->layer_tree_host()->property_trees(); 645 return layer->layer_tree_host()->property_trees();
647 } 646 }
648 647
649 PropertyTrees* GetPropertyTrees(LayerImpl* layer) { 648 PropertyTrees* GetPropertyTrees(LayerImpl* layer) {
650 return layer->layer_tree_impl()->property_trees(); 649 return layer->layer_tree_impl()->property_trees();
651 } 650 }
652 651
653 } // namespace cc 652 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698