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

Unified Diff: cc/surfaces/surface_manager.h

Issue 2908783002: WIP Hittest Component.
Patch Set: fix z-order in use case tests ( background rects at the back ) Created 3 years, 6 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_manager.h
diff --git a/cc/surfaces/surface_manager.h b/cc/surfaces/surface_manager.h
index 73b1b25040b922a530d439b296e421eb6e541aa3..a3e8222fe375b6264f70fd36de6d9fa6e4347318 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. J
rjkroege 2017/06/09 15:47:07 nit: J
+ void SurfaceWillDraw(const SurfaceId& surface_id);
+
Surface* GetSurfaceForId(const SurfaceId& surface_id);
void AddObserver(SurfaceObserver* obs) { observer_list_.AddObserver(obs); }

Powered by Google App Engine
This is Rietveld 408576698