| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/frame_sink_id.mojom"; | 7 import "cc/ipc/frame_sink_id.mojom"; |
| 8 import "cc/ipc/local_surface_id.mojom"; | 8 import "cc/ipc/local_surface_id.mojom"; |
| 9 import "cc/ipc/surface_info.mojom"; | 9 import "cc/ipc/surface_info.mojom"; |
| 10 import "cc/ipc/mojo_compositor_frame_sink.mojom"; | 10 import "cc/ipc/mojo_compositor_frame_sink.mojom"; |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 int64 display_id, | 353 int64 display_id, |
| 354 bool parent_drawn, | 354 bool parent_drawn, |
| 355 cc.mojom.FrameSinkId frame_sink_id); | 355 cc.mojom.FrameSinkId frame_sink_id); |
| 356 | 356 |
| 357 // Invoked when a window's bounds have changed. Only the client embedded in | 357 // Invoked when a window's bounds have changed. Only the client embedded in |
| 358 // |window| gets a non_empty |local_surface_id|. | 358 // |window| gets a non_empty |local_surface_id|. |
| 359 OnWindowBoundsChanged(uint32 window, | 359 OnWindowBoundsChanged(uint32 window, |
| 360 gfx.mojom.Rect old_bounds, | 360 gfx.mojom.Rect old_bounds, |
| 361 gfx.mojom.Rect new_bounds, | 361 gfx.mojom.Rect new_bounds, |
| 362 cc.mojom.LocalSurfaceId? local_surface_id); | 362 cc.mojom.LocalSurfaceId? local_surface_id); |
| 363 |
| 364 OnSetWindowBoundsResponse(uint32 change_id, gfx.mojom.Rect bounds, |
| 365 cc.mojom.LocalSurfaceId local_surface_id); |
| 366 |
| 363 | 367 |
| 364 OnClientAreaChanged(uint32 window_id, | 368 OnClientAreaChanged(uint32 window_id, |
| 365 gfx.mojom.Insets new_client_area, | 369 gfx.mojom.Insets new_client_area, |
| 366 array<gfx.mojom.Rect> new_additional_client_areas); | 370 array<gfx.mojom.Rect> new_additional_client_areas); |
| 367 | 371 |
| 368 OnTransientWindowAdded(uint32 window_id, | 372 OnTransientWindowAdded(uint32 window_id, |
| 369 uint32 transient_window_id); | 373 uint32 transient_window_id); |
| 370 | 374 |
| 371 OnTransientWindowRemoved(uint32 window_id, | 375 OnTransientWindowRemoved(uint32 window_id, |
| 372 uint32 transient_window_id); | 376 uint32 transient_window_id); |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 // See description of WindowManager for details. | 517 // See description of WindowManager for details. |
| 514 GetWindowManager(associated WindowManager& internal); | 518 GetWindowManager(associated WindowManager& internal); |
| 515 }; | 519 }; |
| 516 | 520 |
| 517 // Mus provides this interface as a way for clients to connect and obtain a | 521 // Mus provides this interface as a way for clients to connect and obtain a |
| 518 // WindowTree handle with a supplied WindowTreeClient handle. The | 522 // WindowTree handle with a supplied WindowTreeClient handle. The |
| 519 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. | 523 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. |
| 520 interface WindowTreeFactory { | 524 interface WindowTreeFactory { |
| 521 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); | 525 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); |
| 522 }; | 526 }; |
| OLD | NEW |