| Index: cc/resources/tile_manager.h
|
| diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
|
| index 0e672e577976ea41ba426926b184ec1ca4dfc520..e9f007336bc46b7c785fe90bf24b0ba0a25a60cb 100644
|
| --- a/cc/resources/tile_manager.h
|
| +++ b/cc/resources/tile_manager.h
|
| @@ -70,6 +70,11 @@ class CC_EXPORT TileManagerClient {
|
| virtual scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue(
|
| TreePriority tree_priority) = 0;
|
|
|
| + // Informs the client that due to the currently rasterizing (or scheduled to
|
| + // be rasterized) tiles, we will be in a position that will likely require a
|
| + // draw. This can be used to preemptively start a frame.
|
| + virtual void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) = 0;
|
| +
|
| protected:
|
| virtual ~TileManagerClient() {}
|
| };
|
|
|