OLD | NEW |
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 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <limits> | 10 #include <limits> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
16 #include "cc/base/cc_export.h" | 16 #include "cc/cc_export.h" |
17 #include "cc/layers/layer.h" | 17 #include "cc/layers/layer.h" |
18 #include "cc/layers/layer_collections.h" | 18 #include "cc/layers/layer_collections.h" |
19 #include "cc/layers/layer_impl.h" | 19 #include "cc/layers/layer_impl.h" |
20 #include "cc/trees/layer_tree_host.h" | 20 #include "cc/trees/layer_tree_host.h" |
21 #include "cc/trees/layer_tree_impl.h" | 21 #include "cc/trees/layer_tree_impl.h" |
22 #include "cc/trees/property_tree.h" | 22 #include "cc/trees/property_tree.h" |
23 #include "ui/gfx/geometry/rect.h" | 23 #include "ui/gfx/geometry/rect.h" |
24 #include "ui/gfx/geometry/vector2d.h" | 24 #include "ui/gfx/geometry/vector2d.h" |
25 #include "ui/gfx/transform.h" | 25 #include "ui/gfx/transform.h" |
26 | 26 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 function(tree_impl->LayerById(id)); | 202 function(tree_impl->LayerById(id)); |
203 } | 203 } |
204 } | 204 } |
205 | 205 |
206 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); | 206 CC_EXPORT PropertyTrees* GetPropertyTrees(Layer* layer); |
207 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); | 207 CC_EXPORT PropertyTrees* GetPropertyTrees(LayerImpl* layer); |
208 | 208 |
209 } // namespace cc | 209 } // namespace cc |
210 | 210 |
211 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 211 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
OLD | NEW |