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

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

Issue 1567623003: Adds remainder of support for multiple roots to WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 4 years, 11 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 | « components/mus/public/cpp/window_tree_connection.h ('k') | components/mus/ws/client_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/interfaces/window_tree.mojom
diff --git a/components/mus/public/interfaces/window_tree.mojom b/components/mus/public/interfaces/window_tree.mojom
index 68511073ae3fcd4e847b68d8c5779f2a9114a9ce..851731502686dd30422702aa50d05c5d8d0b82e4 100644
--- a/components/mus/public/interfaces/window_tree.mojom
+++ b/components/mus/public/interfaces/window_tree.mojom
@@ -93,6 +93,12 @@ interface WindowTree {
uint32 window_id,
map<string, array<uint8>>? properties);
+ // Requests the WindowManager to create a new top level window.
+ // TODO(sky): this likely needs context, maybe in |properties|.
+ NewTopLevelWindow(uint32 change_id,
+ uint32 window_id,
+ map<string, array<uint8>> properties);
+
// Deletes a window. This does not recurse. No hierarchy change notifications
// are sent as a result of this. Only the connection that created the window
// can delete it.
@@ -366,6 +372,9 @@ interface WindowManagerInternal {
uint32 window_id,
string name,
array<uint8>? value);
+ // Asks the WindowManager to create a new window.
+ WmCreateTopLevelWindow(uint32 change_id,
+ map<string, array<uint8>> properties);
};
// This interface is only used as an associated interface and is associated
@@ -377,4 +386,8 @@ interface WindowManagerInternalClient {
// Calls WindowTreeClient::RequestClose() on the embedded app at the
// specified window.
WmRequestClose(uint32 window_id);
+
+ // Response from WmCreateTopLevelWindow() informing the client of the id for
+ // the new window.
+ OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
};
« no previous file with comments | « components/mus/public/cpp/window_tree_connection.h ('k') | components/mus/ws/client_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698