| 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 <limits> | 8 #include <limits> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "cc/base/cc_export.h" | 13 #include "cc/base/cc_export.h" |
| 14 #include "cc/base/scoped_ptr_vector.h" | 14 #include "cc/base/scoped_ptr_vector.h" |
| 15 #include "cc/layers/layer_lists.h" | 15 #include "cc/layers/layer_lists.h" |
| 16 #include "cc/trees/property_tree.h" | 16 #include "cc/trees/property_tree.h" |
| 17 #include "cc/output/swap_promise.h" |
| 17 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
| 18 #include "ui/gfx/geometry/vector2d.h" | 19 #include "ui/gfx/geometry/vector2d.h" |
| 19 #include "ui/gfx/transform.h" | 20 #include "ui/gfx/transform.h" |
| 20 | 21 |
| 21 namespace cc { | 22 namespace cc { |
| 22 | 23 |
| 23 class LayerImpl; | 24 class LayerImpl; |
| 24 class Layer; | 25 class Layer; |
| 25 class SwapPromise; | 26 class SwapPromise; |
| 26 class PropertyTrees; | 27 class PropertyTrees; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 render_surface_layer_list, | 295 render_surface_layer_list, |
| 295 0, | 296 0, |
| 296 GetPropertyTrees(root_layer, &temporary_property_trees)) { | 297 GetPropertyTrees(root_layer, &temporary_property_trees)) { |
| 297 DCHECK(root_layer); | 298 DCHECK(root_layer); |
| 298 DCHECK(render_surface_layer_list); | 299 DCHECK(render_surface_layer_list); |
| 299 } | 300 } |
| 300 | 301 |
| 301 } // namespace cc | 302 } // namespace cc |
| 302 | 303 |
| 303 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ | 304 #endif // CC_TREES_LAYER_TREE_HOST_COMMON_H_ |
| OLD | NEW |