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

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

Issue 1419793006: Makes windowmanager draw non-client area (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include Created 5 years, 1 month 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/interfaces/window_manager.mojom ('k') | components/mus/ws/connection_manager.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 345f571beed09fc0c4f5c8480459104772b20c47..67a2f3a4e21134350ac3d5b3177d9bf35a69406a 100644
--- a/components/mus/public/interfaces/window_tree.mojom
+++ b/components/mus/public/interfaces/window_tree.mojom
@@ -90,9 +90,8 @@ interface WindowTree {
// Sets the specified bounds of the specified window.
SetWindowBounds(uint32 window_id, mojo.Rect bounds) => (bool success);
- // Sets the client area of the specified window. Areas outside the client
- // area are treated specially.
- SetClientArea(uint32 window_id, mojo.Rect rect);
+ // Sets the insets of the client area of the specified window.
+ SetClientArea(uint32 window_id, mojo.Insets insets);
// Sets the visibility of the specified window to |visible|. Connections are
// allowed to change the visibility of any window they have created, as well
@@ -197,7 +196,6 @@ interface WindowTree {
(WindowManagerErrorCode result);
SetShowState(uint32 window_id, ShowState show_state) =>
(WindowManagerErrorCode result);
- GetDisplays() => (array<Display> displays);
};
// Changes to windows are not sent to the connection that originated the
@@ -231,8 +229,8 @@ interface WindowTreeClient {
mojo.Rect new_bounds);
OnClientAreaChanged(uint32 window_id,
- mojo.Rect old_client_area,
- mojo.Rect new_client_area);
+ mojo.Insets old_client_area,
+ mojo.Insets new_client_area);
// Invoked when the viewport metrics for the window have changed.
// Clients are expected to propagate this to the window tree.
« no previous file with comments | « components/mus/public/interfaces/window_manager.mojom ('k') | components/mus/ws/connection_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698