Index: cc/tiles/tile_manager.h |
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h |
index abffc7cb5998794580de7a4956646a0ea6e40ff3..0d3be5ec880da28f8de901ff009ba12e21d76b22 100644 |
--- a/cc/tiles/tile_manager.h |
+++ b/cc/tiles/tile_manager.h |
@@ -128,7 +128,8 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient { |
// SetResources. |
void SetResources(ResourcePool* resource_pool, |
TileTaskRunner* tile_task_runner, |
- size_t scheduled_raster_task_limit); |
+ size_t scheduled_raster_task_limit, |
+ bool is_using_gpu_rasterization); |
// This causes any completed raster work to finalize, so that tiles get up to |
// date draw information. |
@@ -142,6 +143,10 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient { |
bool IsReadyToActivate() const; |
bool IsReadyToDraw() const; |
+ ImageDecodeController* GetImageDecodeController() { |
+ return &image_decode_controller_; |
+ } |
+ |
scoped_refptr<base::trace_event::ConvertableToTraceFormat> BasicStateAsValue() |
const; |
void BasicStateAsValueInto(base::trace_event::TracedValue* dict) const; |
@@ -338,6 +343,8 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient { |
uint64_t prepare_tiles_count_; |
uint64_t next_tile_id_; |
+ base::hash_map<Tile::Id, std::vector<DrawImage>> scheduled_draw_images_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TileManager); |
}; |