| 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/cursor.mojom"; | 8 import "services/ui/public/interfaces/cursor.mojom"; |
| 9 import "components/mus/public/interfaces/event_matcher.mojom"; | 9 import "services/ui/public/interfaces/event_matcher.mojom"; |
| 10 import "components/mus/public/interfaces/mus_constants.mojom"; | 10 import "services/ui/public/interfaces/mus_constants.mojom"; |
| 11 import "components/mus/public/interfaces/surface.mojom"; | 11 import "services/ui/public/interfaces/surface.mojom"; |
| 12 import "components/mus/public/interfaces/window_manager.mojom"; | 12 import "services/ui/public/interfaces/window_manager.mojom"; |
| 13 import "components/mus/public/interfaces/window_manager_constants.mojom"; | 13 import "services/ui/public/interfaces/window_manager_constants.mojom"; |
| 14 import "components/mus/public/interfaces/window_tree_constants.mojom"; | 14 import "services/ui/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 // |
| 22 // The root window is identified with a connection id of 0, and value of 1. | 22 // The root window is identified with a connection id of 0, and value of 1. |
| 23 // | 23 // |
| 24 // Most functions to the WindowTree take a change_id parameter. When | 24 // Most functions to the WindowTree take a change_id parameter. When |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 // See description of WindowManager for details. | 369 // See description of WindowManager for details. |
| 370 GetWindowManager(associated WindowManager& internal); | 370 GetWindowManager(associated WindowManager& internal); |
| 371 }; | 371 }; |
| 372 | 372 |
| 373 // Mus provides this interface as a way for clients to connect and obtain a | 373 // Mus provides this interface as a way for clients to connect and obtain a |
| 374 // WindowTree handle with a supplied WindowTreeClient handle. The | 374 // WindowTree handle with a supplied WindowTreeClient handle. The |
| 375 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. | 375 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. |
| 376 interface WindowTreeFactory { | 376 interface WindowTreeFactory { |
| 377 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); | 377 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); |
| 378 }; | 378 }; |
| OLD | NEW |