OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 | 5 |
6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ | 6 #ifndef CC_LAYERS_RENDER_SURFACE_H_ |
7 #define CC_LAYERS_RENDER_SURFACE_H_ | 7 #define CC_LAYERS_RENDER_SURFACE_H_ |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.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/layers/layer_lists.h" | 14 #include "cc/layers/layer_lists.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/rect_f.h" | 16 #include "ui/gfx/geometry/rect_f.h" |
17 #include "ui/gfx/transform.h" | 17 #include "ui/gfx/transform.h" |
18 | 18 |
19 namespace cc { | 19 namespace cc { |
20 | 20 |
21 class Layer; | 21 class Layer; |
22 template <typename LayerType> | 22 template <typename LayerType> |
23 class LayerIterator; | 23 class LayerIterator; |
24 | 24 |
25 class CC_EXPORT RenderSurface { | 25 class CC_EXPORT RenderSurface { |
26 public: | 26 public: |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 146 |
147 // For LayerIteratorActions | 147 // For LayerIteratorActions |
148 int target_render_surface_layer_index_history_; | 148 int target_render_surface_layer_index_history_; |
149 int current_layer_index_history_; | 149 int current_layer_index_history_; |
150 | 150 |
151 DISALLOW_COPY_AND_ASSIGN(RenderSurface); | 151 DISALLOW_COPY_AND_ASSIGN(RenderSurface); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace cc | 154 } // namespace cc |
155 #endif // CC_LAYERS_RENDER_SURFACE_H_ | 155 #endif // CC_LAYERS_RENDER_SURFACE_H_ |
OLD | NEW |