OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_TILES_TILE_H_ | 5 #ifndef CC_TILES_TILE_H_ |
6 #define CC_TILES_TILE_H_ | 6 #define CC_TILES_TILE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "cc/raster/tile_task.h" |
13 #include "cc/tiles/tile_draw_info.h" | 14 #include "cc/tiles/tile_draw_info.h" |
14 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
15 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
16 | 17 |
17 namespace cc { | 18 namespace cc { |
18 | 19 |
19 class PrioritizedTile; | 20 class PrioritizedTile; |
20 class TileManager; | 21 class TileManager; |
21 struct TilePriority; | 22 struct TilePriority; |
22 | 23 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 scoped_refptr<TileTask> raster_task_; | 148 scoped_refptr<TileTask> raster_task_; |
148 | 149 |
149 DISALLOW_COPY_AND_ASSIGN(Tile); | 150 DISALLOW_COPY_AND_ASSIGN(Tile); |
150 }; | 151 }; |
151 | 152 |
152 using ScopedTilePtr = std::unique_ptr<Tile, Tile::Deleter>; | 153 using ScopedTilePtr = std::unique_ptr<Tile, Tile::Deleter>; |
153 | 154 |
154 } // namespace cc | 155 } // namespace cc |
155 | 156 |
156 #endif // CC_TILES_TILE_H_ | 157 #endif // CC_TILES_TILE_H_ |
OLD | NEW |