Index: cc/resources/tile_manager.h |
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
index e94fb7caf1040ddd05cbb83b593fdae85c069ba3..8d19520699b4c5edd713e9ab94763604795f1944 100644 |
--- a/cc/resources/tile_manager.h |
+++ b/cc/resources/tile_manager.h |
@@ -162,6 +162,10 @@ class CC_EXPORT TileManager : public RasterizerClient, |
return tiles; |
} |
+ void SetScheduledRasterTaskLimitForTesting(size_t limit) { |
+ scheduled_raster_task_limit_ = limit; |
+ } |
+ |
protected: |
TileManager(TileManagerClient* client, |
const scoped_refptr<base::SequencedTaskRunner>& task_runner, |
@@ -243,7 +247,7 @@ class CC_EXPORT TileManager : public RasterizerClient, |
ResourcePool* resource_pool_; |
Rasterizer* rasterizer_; |
GlobalStateThatImpactsTilePriority global_state_; |
- const size_t scheduled_raster_task_limit_; |
+ size_t scheduled_raster_task_limit_; |
typedef base::hash_map<Tile::Id, Tile*> TileMap; |
TileMap tiles_; |
@@ -282,6 +286,9 @@ class CC_EXPORT TileManager : public RasterizerClient, |
EvictionTilePriorityQueue eviction_priority_queue_; |
bool eviction_priority_queue_is_up_to_date_; |
+ bool did_notify_ready_to_activate_; |
+ bool did_notify_ready_to_draw_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TileManager); |
}; |