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_LAYER_SORTER_H_ | 5 #ifndef CC_LAYER_SORTER_H_ |
6 #define CC_LAYER_SORTER_H_ | 6 #define CC_LAYER_SORTER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "cc/cc_export.h" | 10 #include "cc/base/cc_export.h" |
11 #include "cc/layer_impl.h" | 11 #include "cc/layer_impl.h" |
12 #include "ui/gfx/point3_f.h" | 12 #include "ui/gfx/point3_f.h" |
13 #include "ui/gfx/quad_f.h" | 13 #include "ui/gfx/quad_f.h" |
14 #include "ui/gfx/rect_f.h" | 14 #include "ui/gfx/rect_f.h" |
15 #include "ui/gfx/vector3d_f.h" | 15 #include "ui/gfx/vector3d_f.h" |
16 | 16 |
17 #if defined(COMPILER_GCC) | 17 #if defined(COMPILER_GCC) |
18 namespace cc { struct GraphEdge; } | 18 namespace cc { struct GraphEdge; } |
19 | 19 |
20 namespace BASE_HASH_NAMESPACE { | 20 namespace BASE_HASH_NAMESPACE { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 void CreateGraphNodes(LayerList::iterator first, LayerList::iterator last); | 105 void CreateGraphNodes(LayerList::iterator first, LayerList::iterator last); |
106 void CreateGraphEdges(); | 106 void CreateGraphEdges(); |
107 void RemoveEdgeFromList(GraphEdge* graph, std::vector<GraphEdge*>* list); | 107 void RemoveEdgeFromList(GraphEdge* graph, std::vector<GraphEdge*>* list); |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(LayerSorter); | 109 DISALLOW_COPY_AND_ASSIGN(LayerSorter); |
110 }; | 110 }; |
111 | 111 |
112 } | 112 } |
113 #endif // CC_LAYER_SORTER_H_ | 113 #endif // CC_LAYER_SORTER_H_ |
OLD | NEW |