| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PROPERTY_TREE_H_ | 5 #ifndef CC_TREES_PROPERTY_TREE_H_ |
| 6 #define CC_TREES_PROPERTY_TREE_H_ | 6 #define CC_TREES_PROPERTY_TREE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect_f.h" |
| 13 #include "ui/gfx/geometry/scroll_offset.h" | 13 #include "ui/gfx/geometry/scroll_offset.h" |
| 14 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
| 15 | 15 |
| 16 namespace cc { | 16 namespace cc { |
| 17 | 17 |
| 18 template <typename T> | 18 template <typename T> |
| 19 struct CC_EXPORT TreeNode { | 19 struct CC_EXPORT TreeNode { |
| 20 TreeNode() : id(-1), parent_id(-1), owner_id(-1), data() {} | 20 TreeNode() : id(-1), parent_id(-1), owner_id(-1), data() {} |
| 21 int id; | 21 int id; |
| 22 int parent_id; | 22 int parent_id; |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 TransformTree transform_tree; | 349 TransformTree transform_tree; |
| 350 EffectTree effect_tree; | 350 EffectTree effect_tree; |
| 351 ClipTree clip_tree; | 351 ClipTree clip_tree; |
| 352 bool needs_rebuild; | 352 bool needs_rebuild; |
| 353 int sequence_number; | 353 int sequence_number; |
| 354 }; | 354 }; |
| 355 | 355 |
| 356 } // namespace cc | 356 } // namespace cc |
| 357 | 357 |
| 358 #endif // CC_TREES_PROPERTY_TREE_H_ | 358 #endif // CC_TREES_PROPERTY_TREE_H_ |
| OLD | NEW |