| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/mus/public/interfaces/window_manager.mojom"; |
| 7 import "components/mus/public/interfaces/window_tree.mojom"; | 8 import "components/mus/public/interfaces/window_tree.mojom"; |
| 8 import "ui/mojo/events/input_event_constants.mojom"; | 9 import "ui/mojo/events/input_event_constants.mojom"; |
| 9 import "ui/mojo/events/input_event_matcher.mojom"; | 10 import "ui/mojo/events/input_event_matcher.mojom"; |
| 10 import "ui/mojo/events/input_events.mojom"; | 11 import "ui/mojo/events/input_events.mojom"; |
| 11 import "ui/mojo/events/input_key_codes.mojom"; | 12 import "ui/mojo/events/input_key_codes.mojom"; |
| 12 import "ui/mojo/geometry/geometry.mojom"; | 13 import "ui/mojo/geometry/geometry.mojom"; |
| 13 | 14 |
| 14 // WindowTreeHost encapsulates a unique underlying platform window, with a tree | 15 // WindowTreeHost encapsulates a unique underlying platform window, with a tree |
| 15 // of windows. | 16 // of windows. |
| 16 interface WindowTreeHost { | 17 interface WindowTreeHost { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 interface WindowTreeHostClient { | 38 interface WindowTreeHostClient { |
| 38 // An accelerator registered via AddAccelerator() has been triggered. | 39 // An accelerator registered via AddAccelerator() has been triggered. |
| 39 OnAccelerator(uint32 id, mojo.Event event); | 40 OnAccelerator(uint32 id, mojo.Event event); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 interface WindowTreeHostFactory { | 43 interface WindowTreeHostFactory { |
| 43 CreateWindowTreeHost(WindowTreeHost& window_tree_host, | 44 CreateWindowTreeHost(WindowTreeHost& window_tree_host, |
| 44 WindowTreeHostClient? host_client, | 45 WindowTreeHostClient? host_client, |
| 45 WindowTreeClient tree_client); | 46 WindowTreeClient tree_client, |
| 47 WindowManager? window_manager); |
| 46 }; | 48 }; |
| OLD | NEW |