Index: cc/surfaces/surface_manager.h |
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h |
index 73b1b25040b922a530d439b296e421eb6e541aa3..cfc216358d9a9ba5cd3402156c5e18706cdff986 100644 |
--- a/cc/surfaces/surface_manager.h |
+++ b/cc/surfaces/surface_manager.h |
@@ -74,6 +74,10 @@ class CC_SURFACES_EXPORT SurfaceManager { |
// Destroy the Surface once a set of sequence numbers has been satisfied. |
void DestroySurface(std::unique_ptr<Surface> surface); |
+ // Called when a surface has been added to the Display Frame and will |
+ // invoke observers with the OnSurfaceWillDraw notification. |
+ void SurfaceWillDraw(const SurfaceId& surface_id); |
+ |
Surface* GetSurfaceForId(const SurfaceId& surface_id); |
void AddObserver(SurfaceObserver* obs) { observer_list_.AddObserver(obs); } |