Index: cc/surfaces/surface_observer.h |
diff --git a/cc/surfaces/surface_observer.h b/cc/surfaces/surface_observer.h |
index c57f07e5f2583e6c8103672db1aac9db4cd125ff..c6a0ff01d8d7bc022cd0f6f35da5dec8c8fe53a4 100644 |
--- a/cc/surfaces/surface_observer.h |
+++ b/cc/surfaces/surface_observer.h |
@@ -38,6 +38,9 @@ class SurfaceObserver { |
// and, thus, is expected to produce damage soon. |
virtual void OnSurfaceDamageExpected(const SurfaceId& surface_id, |
const BeginFrameArgs& args) = 0; |
+ |
+ // Runs when SurfaceAggregator has added the surface to the Display Frame. |
+ virtual void OnSurfaceWillDraw(const SurfaceId& surface_id) = 0; |
}; |
} // namespace cc |