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

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

Issue 1639563003: Renames WindowManagerConfig to FrameDecorationValues and moves to Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments 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
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 f6126e4b60025041d78226c22f74b6b9a4cd4e0a..1abc03624aea384f31b53f532603b075133253bc 100644
--- a/components/mus/public/interfaces/window_tree.mojom
+++ b/components/mus/public/interfaces/window_tree.mojom
@@ -367,6 +367,7 @@ interface WindowTreeClient {
//
// This interface is only used as an associated interface and is associated
// with WindowTreeClient.
+// TODO(sky): rename this to WindowManager.
interface WindowManagerInternal {
// When the WindowManagerInternal completes a request it must call back to
// WindowManagerInternalClient::WmResponse().
@@ -382,6 +383,7 @@ interface WindowManagerInternal {
// This interface is only used as an associated interface and is associated
// with WindowTree.
+// TODO(sky): rename this to WindowManagerClient.
interface WindowManagerInternalClient {
// The window manager has completed a request with the specific change id.
WmResponse(uint32 change_id, bool response);
@@ -390,6 +392,10 @@ interface WindowManagerInternalClient {
// specified window.
WmRequestClose(uint32 window_id);
+ // Sets the frame decoration constants of the display the window manager is
+ // associated with.
+ WmSetFrameDecorationValues(FrameDecorationValues values);
+
// Response from WmCreateTopLevelWindow() informing the client of the id for
// the new window.
OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);

Powered by Google App Engine
This is Rietveld 408576698