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

Side by Side Diff: cc/trees/property_tree.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « cc/resources/display_item_list.h ('k') | chrome/browser/accessibility/accessibility_events.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/rect.h" 12 #include "ui/gfx/geometry/rect.h"
13 #include "ui/gfx/transform.h" 13 #include "ui/gfx/transform.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 template <typename T> 17 template <typename T>
18 struct CC_EXPORT TreeNode { 18 struct CC_EXPORT TreeNode {
19 TreeNode() : id(-1), parent_id(-1), data() {} 19 TreeNode() : id(-1), parent_id(-1), data() {}
20 int id; 20 int id;
21 int parent_id; 21 int parent_id;
22 T data; 22 T data;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 bool CombineInversesBetween(int source_id, 130 bool CombineInversesBetween(int source_id,
131 int dest_id, 131 int dest_id,
132 gfx::Transform* transform) const; 132 gfx::Transform* transform) const;
133 }; 133 };
134 134
135 class CC_EXPORT ClipTree final : public PropertyTree<ClipNode> {}; 135 class CC_EXPORT ClipTree final : public PropertyTree<ClipNode> {};
136 136
137 } // namespace cc 137 } // namespace cc
138 138
139 #endif // CC_TREES_PROPERTY_TREE_H_ 139 #endif // CC_TREES_PROPERTY_TREE_H_
OLDNEW
« no previous file with comments | « cc/resources/display_item_list.h ('k') | chrome/browser/accessibility/accessibility_events.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698