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 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 Id id_; | 137 Id id_; |
138 | 138 |
139 // The rect bounding the changes in this Tile vs the previous tile it | 139 // The rect bounding the changes in this Tile vs the previous tile it |
140 // replaced. | 140 // replaced. |
141 gfx::Rect invalidated_content_rect_; | 141 gfx::Rect invalidated_content_rect_; |
142 // The |id_| of the Tile that was invalidated and replaced by this tile. | 142 // The |id_| of the Tile that was invalidated and replaced by this tile. |
143 Id invalidated_id_; | 143 Id invalidated_id_; |
144 | 144 |
145 unsigned scheduled_priority_; | 145 unsigned scheduled_priority_; |
146 | 146 |
147 scoped_refptr<RasterTask> raster_task_; | 147 scoped_refptr<TileTask> raster_task_; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(Tile); | 149 DISALLOW_COPY_AND_ASSIGN(Tile); |
150 }; | 150 }; |
151 | 151 |
152 using ScopedTilePtr = std::unique_ptr<Tile, Tile::Deleter>; | 152 using ScopedTilePtr = std::unique_ptr<Tile, Tile::Deleter>; |
153 | 153 |
154 } // namespace cc | 154 } // namespace cc |
155 | 155 |
156 #endif // CC_TILES_TILE_H_ | 156 #endif // CC_TILES_TILE_H_ |
OLD | NEW |