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. |