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

Unified Diff: components/mus/public/interfaces/window_manager.mojom

Issue 2072343002: Changes how window manager obtains WindowTree from mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include Created 4 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: components/mus/public/interfaces/window_manager.mojom
diff --git a/components/mus/public/interfaces/window_manager.mojom b/components/mus/public/interfaces/window_manager.mojom
index 571ca354d316ef500440d07c5c280b7472672991..ed0ffe172a1023bdfbbf6e7dd0af7c276247af1f 100644
--- a/components/mus/public/interfaces/window_manager.mojom
+++ b/components/mus/public/interfaces/window_manager.mojom
@@ -7,6 +7,7 @@ module mus.mojom;
import "components/mus/public/interfaces/cursor.mojom";
import "components/mus/public/interfaces/event_matcher.mojom";
import "components/mus/public/interfaces/window_manager_constants.mojom";
+import "components/mus/public/interfaces/window_tree_constants.mojom";
import "ui/events/mojo/event.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
@@ -54,6 +55,13 @@ interface WindowManager {
// and the client area should be equivalent to the window area. Type: bool
const string kRemoveStandardFrame_Property = "prop:remove-standard-frame";
+ // Called immediately when the WindowManager is obtained.
+ OnConnect(uint16 client_id);
+
+ // Called when a new display is added. |root| gives the root window specific
+ // to this WindowManager for |display|.
+ WmNewDisplayAdded(Display display, WindowData root, bool parent_drawn);
+
// 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 | « components/mus/public/interfaces/BUILD.gn ('k') | components/mus/public/interfaces/window_manager_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698