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

Unified Diff: services/ui/public/cpp/window_observer.h

Issue 2414683003: Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Add missing file Created 4 years, 2 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: services/ui/public/cpp/window_observer.h
diff --git a/services/ui/public/cpp/window_observer.h b/services/ui/public/cpp/window_observer.h
index a5c003be32873277113004988ccc890d6725487d..fb8a355e5dcac281869d711b5ee4abbe248f97ea 100644
--- a/services/ui/public/cpp/window_observer.h
+++ b/services/ui/public/cpp/window_observer.h
@@ -118,6 +118,13 @@ class WindowObserver {
virtual void OnTransientChildRemoved(ui::Window* window,
ui::Window* transient) {}
+ virtual void OnChildWindowSurfaceCreated(
+ Window* window,
+ const cc::SurfaceId& surface_id,
+ const cc::SurfaceSequence& surface_sequence,
+ const gfx::Size& frame_size,
+ float device_scale_factor) {}
+
// The WindowManager has requested the window to close. If the observer
// allows the close it should destroy the window as appropriate.
virtual void OnRequestClose(Window* window) {}

Powered by Google App Engine
This is Rietveld 408576698