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 "components/mus/public/interfaces/compositor_frame.mojom"; | 8 import "components/mus/public/interfaces/compositor_frame.mojom"; |
8 import "components/mus/public/interfaces/cursor.mojom"; | 9 import "components/mus/public/interfaces/cursor.mojom"; |
9 import "components/mus/public/interfaces/event_matcher.mojom"; | 10 import "components/mus/public/interfaces/event_matcher.mojom"; |
10 import "components/mus/public/interfaces/input_events.mojom"; | 11 import "components/mus/public/interfaces/input_events.mojom"; |
11 import "components/mus/public/interfaces/mus_constants.mojom"; | 12 import "components/mus/public/interfaces/mus_constants.mojom"; |
12 import "components/mus/public/interfaces/surface_id.mojom"; | |
13 import "components/mus/public/interfaces/window_manager.mojom"; | 13 import "components/mus/public/interfaces/window_manager.mojom"; |
14 import "components/mus/public/interfaces/window_manager_constants.mojom"; | 14 import "components/mus/public/interfaces/window_manager_constants.mojom"; |
15 import "ui/gfx/geometry/mojo/geometry.mojom"; | 15 import "ui/gfx/geometry/mojo/geometry.mojom"; |
16 import "ui/mojo/ime/text_input_state.mojom"; | 16 import "ui/mojo/ime/text_input_state.mojom"; |
17 | 17 |
18 struct ViewportMetrics { | 18 struct ViewportMetrics { |
19 mojo.Size size_in_pixels; | 19 mojo.Size size_in_pixels; |
20 // A value of 0 indicates the real value is not yet available. | 20 // A value of 0 indicates the real value is not yet available. |
21 float device_pixel_ratio = 0.0; | 21 float device_pixel_ratio = 0.0; |
22 }; | 22 }; |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 // See description of WindowManager for details. | 402 // See description of WindowManager for details. |
403 GetWindowManager(associated WindowManager& internal); | 403 GetWindowManager(associated WindowManager& internal); |
404 }; | 404 }; |
405 | 405 |
406 // Mus provides this interface as a way for clients to connect and obtain a | 406 // Mus provides this interface as a way for clients to connect and obtain a |
407 // WindowTree handle with a supplied WindowTreeClient handle. The | 407 // WindowTree handle with a supplied WindowTreeClient handle. The |
408 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. | 408 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. |
409 interface WindowTreeFactory { | 409 interface WindowTreeFactory { |
410 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); | 410 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); |
411 }; | 411 }; |
OLD | NEW |