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

Unified Diff: cc/test/fake_tile_manager.h

Issue 157743007: cc: Prevent usage of rasterize on-demand with delegating renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more unit test Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/test/fake_tile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_tile_manager.h
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h
index 552c0f8e514e97b0808ce8d0c41923e019f6e54d..710b40007278225c280e975ffadf49449f49d565 100644
--- a/cc/test/fake_tile_manager.h
+++ b/cc/test/fake_tile_manager.h
@@ -19,7 +19,11 @@ class FakeTileManager : public TileManager {
ResourceProvider* resource_provider);
FakeTileManager(TileManagerClient* client,
ResourceProvider* resource_provider,
+ bool allow_on_demand_raster);
+ FakeTileManager(TileManagerClient* client,
+ ResourceProvider* resource_provider,
size_t raster_task_limit_bytes);
+ virtual ~FakeTileManager();
bool HasBeenAssignedMemory(Tile* tile);
void AssignMemoryToTiles(
@@ -27,7 +31,7 @@ class FakeTileManager : public TileManager {
void CheckForCompletedTasks();
- virtual ~FakeTileManager();
+ void DidFinishRunningTasksForTesting();
virtual void Release(Tile* tile) OVERRIDE;
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/test/fake_tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698