Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3085)

Unified Diff: cc/surfaces/surface_observer.h

Issue 2908783002: WIP Hittest Component.
Patch Set: surface observer and test setup Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/surfaces/surface_observer.h
diff --git a/cc/surfaces/surface_observer.h b/cc/surfaces/surface_observer.h
index c57f07e5f2583e6c8103672db1aac9db4cd125ff..2cabc57436e443f1208d587daee10176b93e03d9 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 the Surface Aggregator has add the surface to the Display Frame
rjkroege 2017/06/02 22:45:44 added I don't like this name. But I get it. It's
gklassen 2017/06/05 21:32:13 Acknowledged.
+ virtual void OnSurfaceWillDraw(const SurfaceId& surface_id) = 0;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698