| Index: services/ui/public/interfaces/window_tree.mojom
|
| diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom
|
| index 51c1726c17a6b0d02e096c822f26836c7b746310..fd7e3b2cd41bdfc4897c002db5c501cc87ac6ecc 100644
|
| --- a/services/ui/public/interfaces/window_tree.mojom
|
| +++ b/services/ui/public/interfaces/window_tree.mojom
|
| @@ -4,6 +4,7 @@
|
|
|
| module ui.mojom;
|
|
|
| +import "cc/ipc/local_frame_id.mojom";
|
| import "cc/ipc/surface_info.mojom";
|
| import "cc/ipc/mojo_compositor_frame_sink.mojom";
|
| import "services/ui/public/interfaces/cursor.mojom";
|
| @@ -53,7 +54,8 @@ interface WindowTree {
|
| // match the connection id of the client.
|
| NewWindow(uint32 change_id,
|
| uint32 window_id,
|
| - map<string, array<uint8>>? properties);
|
| + map<string, array<uint8>>? properties,
|
| + cc.mojom.LocalFrameId local_frame_id);
|
|
|
| // Requests the WindowManager to create a new top level window. On success
|
| // OnTopLevelCreated() is called with the WindowData for the new window. On
|
| @@ -100,8 +102,10 @@ interface WindowTree {
|
| // Stops the pointer watcher for all events.
|
| StopPointerWatcher();
|
|
|
| - // Sets the specified bounds of the specified window.
|
| - SetWindowBounds(uint32 change_id, uint32 window_id, gfx.mojom.Rect bounds);
|
| + // Sets the specified bounds of the specified window. The window will paint
|
| + // the frame in the provided |local_frame_id|.
|
| + SetWindowBounds(uint32 change_id, uint32 window_id, gfx.mojom.Rect bounds,
|
| + cc.mojom.LocalFrameId local_frame_id);
|
|
|
| // Sets the client area of the specified window. The client area is specified
|
| // by way of insets. Everything outside of the insets, and not in
|
| @@ -344,7 +348,8 @@ interface WindowTreeClient {
|
| // Invoked when a window's bounds have changed.
|
| OnWindowBoundsChanged(uint32 window,
|
| gfx.mojom.Rect old_bounds,
|
| - gfx.mojom.Rect new_bounds);
|
| + gfx.mojom.Rect new_bounds,
|
| + cc.mojom.LocalFrameId local_frame_id);
|
|
|
| OnClientAreaChanged(uint32 window_id,
|
| gfx.mojom.Insets new_client_area,
|
|
|