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

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

Issue 2640153006: Fix Win/Clang components build of cc_unittests (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | cc/tiles/tile_manager.cc » ('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_MANAGER_H_ 5 #ifndef CC_TILES_TILE_MANAGER_H_
6 #define CC_TILES_TILE_MANAGER_H_ 6 #define CC_TILES_TILE_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 } 192 }
193 193
194 void CheckIfMoreTilesNeedToBePreparedForTesting() { 194 void CheckIfMoreTilesNeedToBePreparedForTesting() {
195 CheckIfMoreTilesNeedToBePrepared(); 195 CheckIfMoreTilesNeedToBePrepared();
196 } 196 }
197 197
198 void SetMoreTilesNeedToBeRasterizedForTesting() { 198 void SetMoreTilesNeedToBeRasterizedForTesting() {
199 all_tiles_that_need_to_be_rasterized_are_scheduled_ = false; 199 all_tiles_that_need_to_be_rasterized_are_scheduled_ = false;
200 } 200 }
201 201
202 void ResetSignalsForTesting() { signals_.reset(); } 202 void ResetSignalsForTesting();
203 203
204 bool HasScheduledTileTasksForTesting() const { 204 bool HasScheduledTileTasksForTesting() const {
205 return has_scheduled_tile_tasks_; 205 return has_scheduled_tile_tasks_;
206 } 206 }
207 207
208 void OnRasterTaskCompleted(std::unique_ptr<RasterBuffer> raster_buffer, 208 void OnRasterTaskCompleted(std::unique_ptr<RasterBuffer> raster_buffer,
209 Tile::Id tile_id, 209 Tile::Id tile_id,
210 Resource* resource, 210 Resource* resource,
211 bool was_canceled); 211 bool was_canceled);
212 212
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 const bool check_tile_priority_inversion_; 342 const bool check_tile_priority_inversion_;
343 343
344 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_; 344 base::WeakPtrFactory<TileManager> task_set_finished_weak_ptr_factory_;
345 345
346 DISALLOW_COPY_AND_ASSIGN(TileManager); 346 DISALLOW_COPY_AND_ASSIGN(TileManager);
347 }; 347 };
348 348
349 } // namespace cc 349 } // namespace cc
350 350
351 #endif // CC_TILES_TILE_MANAGER_H_ 351 #endif // CC_TILES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698