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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 TransformTree transform_tree; | 353 TransformTree transform_tree; |
354 EffectTree effect_tree; | 354 EffectTree effect_tree; |
355 ClipTree clip_tree; | 355 ClipTree clip_tree; |
356 bool needs_rebuild; | 356 bool needs_rebuild; |
357 int sequence_number; | 357 int sequence_number; |
358 }; | 358 }; |
359 | 359 |
360 } // namespace cc | 360 } // namespace cc |
361 | 361 |
362 #endif // CC_TREES_PROPERTY_TREE_H_ | 362 #endif // CC_TREES_PROPERTY_TREE_H_ |
OLD | NEW |