Index: cc/resources/tile_manager.h |
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
index a4ae9158c064b69a42aa467648278dcd2582f20b..37ab765b84a8d904c7a2f89ce8dce50f9d02658d 100644 |
--- a/cc/resources/tile_manager.h |
+++ b/cc/resources/tile_manager.h |
@@ -65,6 +65,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() {} |
}; |