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

Side by Side Diff: cc/tiles/tile.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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/tiles/gpu_image_decode_controller.h ('k') | cc/tiles/tile_manager.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 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/raster/tile_task.h"
14 #include "cc/tiles/tile_draw_info.h" 14 #include "cc/tiles/tile_draw_info.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/geometry/size.h" 16 #include "ui/gfx/geometry/size.h"
17 17
18 namespace cc { 18 namespace cc {
19 19
20 class PrioritizedTile;
21 class TileManager; 20 class TileManager;
22 struct TilePriority;
23 21
24 class CC_EXPORT Tile { 22 class CC_EXPORT Tile {
25 public: 23 public:
26 class CC_EXPORT Deleter { 24 class CC_EXPORT Deleter {
27 public: 25 public:
28 void operator()(Tile* tile) const; 26 void operator()(Tile* tile) const;
29 }; 27 };
30 28
31 class CC_EXPORT CreateInfo { 29 class CC_EXPORT CreateInfo {
32 public: 30 public:
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 scoped_refptr<TileTask> raster_task_; 154 scoped_refptr<TileTask> raster_task_;
157 155
158 DISALLOW_COPY_AND_ASSIGN(Tile); 156 DISALLOW_COPY_AND_ASSIGN(Tile);
159 }; 157 };
160 158
161 using ScopedTilePtr = std::unique_ptr<Tile, Tile::Deleter>; 159 using ScopedTilePtr = std::unique_ptr<Tile, Tile::Deleter>;
162 160
163 } // namespace cc 161 } // namespace cc
164 162
165 #endif // CC_TILES_TILE_H_ 163 #endif // CC_TILES_TILE_H_
OLDNEW
« no previous file with comments | « cc/tiles/gpu_image_decode_controller.h ('k') | cc/tiles/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698