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

Unified Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2346253004: Makes display roots be destroyed by client (Closed)
Patch Set: cleanup Created 4 years, 3 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
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_manager.mojom
diff --git a/services/ui/public/interfaces/window_manager.mojom b/services/ui/public/interfaces/window_manager.mojom
index 96dc972c7454d0bf378b103ce8df654fa8137324..fb103d2b866588a9894a4c98f2201fdab1fc6b52 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -75,6 +75,11 @@ interface WindowManager {
WindowData root,
bool parent_drawn);
+ // Called when a display is removed. The root of the specified display is
+ // still valid. It is expected the client calls DeleteWindow() shortly after
+ // this with the root.
+ WmDisplayRemoved(int64 display_id);
+
// When the WindowManager completes a request it must call back to
// WindowManagerClient::WmResponse().
WmSetBounds(uint32 change_id, uint32 window_id, gfx.mojom.Rect bounds);
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/test_wm/test_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698