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 b30afbe85d075db34c8fb6235e51c0352699010b..c7088fc4ae99cb5a36b67c11692030fde3507fc7 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 |
@@ -199,7 +198,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 |
@@ -232,8 +230,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. |