| 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 mus.mojom; | 5 module mus.mojom; |
| 6 | 6 |
| 7 import "cc/ipc/surface_id.mojom"; | 7 import "cc/ipc/surface_id.mojom"; |
| 8 import "components/mus/public/interfaces/compositor_frame.mojom"; | |
| 9 import "components/mus/public/interfaces/cursor.mojom"; | 8 import "components/mus/public/interfaces/cursor.mojom"; |
| 10 import "components/mus/public/interfaces/event_matcher.mojom"; | 9 import "components/mus/public/interfaces/event_matcher.mojom"; |
| 11 import "components/mus/public/interfaces/mus_constants.mojom"; | 10 import "components/mus/public/interfaces/mus_constants.mojom"; |
| 11 import "components/mus/public/interfaces/surface.mojom"; |
| 12 import "components/mus/public/interfaces/window_manager.mojom"; | 12 import "components/mus/public/interfaces/window_manager.mojom"; |
| 13 import "components/mus/public/interfaces/window_manager_constants.mojom"; | 13 import "components/mus/public/interfaces/window_manager_constants.mojom"; |
| 14 import "components/mus/public/interfaces/window_tree_constants.mojom"; | 14 import "components/mus/public/interfaces/window_tree_constants.mojom"; |
| 15 import "ui/events/mojo/event.mojom"; | 15 import "ui/events/mojo/event.mojom"; |
| 16 import "ui/gfx/geometry/mojo/geometry.mojom"; | 16 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 17 import "ui/platform_window/mojo/text_input_state.mojom"; | 17 import "ui/platform_window/mojo/text_input_state.mojom"; |
| 18 | 18 |
| 19 // Windows are identified by a uint32. The upper 16 bits are the connection id, | 19 // Windows are identified by a uint32. The upper 16 bits are the connection id, |
| 20 // and the lower 16 the id assigned by the client. | 20 // and the lower 16 the id assigned by the client. |
| 21 // | 21 // |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 // See description of WindowManager for details. | 365 // See description of WindowManager for details. |
| 366 GetWindowManager(associated WindowManager& internal); | 366 GetWindowManager(associated WindowManager& internal); |
| 367 }; | 367 }; |
| 368 | 368 |
| 369 // Mus provides this interface as a way for clients to connect and obtain a | 369 // Mus provides this interface as a way for clients to connect and obtain a |
| 370 // WindowTree handle with a supplied WindowTreeClient handle. The | 370 // WindowTree handle with a supplied WindowTreeClient handle. The |
| 371 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. | 371 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. |
| 372 interface WindowTreeFactory { | 372 interface WindowTreeFactory { |
| 373 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); | 373 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); |
| 374 }; | 374 }; |
| OLD | NEW |