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

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

Issue 1890903002: cc: Simplify Task and its derived classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_tile_task_runner
Patch Set: feedback Created 4 years, 8 months 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
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
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698