Index: cc/resources/tile_manager.h |
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
index 2bdc9e1a29e377ea43360e3dd0bee96c686ecd36..8accc5ff830223d051a7e7d9d09ad075be3a4a6b 100644 |
--- a/cc/resources/tile_manager.h |
+++ b/cc/resources/tile_manager.h |
@@ -156,6 +156,8 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient, |
global_state_ = state; |
} |
+ TileTaskRunner* TileTaskRunnerForTesting() const { return tile_task_runner_; } |
+ |
void SetTileTaskRunnerForTesting(TileTaskRunner* tile_task_runner); |
void FreeResourcesAndCleanUpReleasedTilesForTesting() { |
@@ -176,6 +178,8 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient, |
scheduled_raster_task_limit_ = limit; |
} |
+ void CheckIfMoreTilesNeedToBePreparedForTesting(); |
+ |
bool IsReadyToActivate() const; |
vmpstr
2015/03/27 17:23:28
While here, can you move these to be above the for
sunnyps
2015/03/27 18:38:04
Done.
|
bool IsReadyToDraw() const; |