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 mojo; |
| 6 |
5 import "mojo/services/public/interfaces/geometry/geometry.mojom"; | 7 import "mojo/services/public/interfaces/geometry/geometry.mojom"; |
6 import "mojo/services/public/interfaces/input_events/input_events.mojom"; | 8 import "mojo/services/public/interfaces/input_events/input_events.mojom"; |
7 | 9 |
8 module mojo { | |
9 | |
10 // ViewManager provides this interface to the WindowManager. It enables | 10 // ViewManager provides this interface to the WindowManager. It enables |
11 // capabilities specific to the WindowManager. | 11 // capabilities specific to the WindowManager. |
12 interface WindowManagerInternalClient { | 12 interface WindowManagerInternalClient { |
13 // Dispatches the specified input event to the specified view. | 13 // Dispatches the specified input event to the specified view. |
14 DispatchInputEventToView(uint32 view_id, mojo.Event event); | 14 DispatchInputEventToView(uint32 view_id, mojo.Event event); |
15 | 15 |
16 // Sets the native viewport size. | 16 // Sets the native viewport size. |
17 SetViewportSize(mojo.Size size); | 17 SetViewportSize(mojo.Size size); |
18 }; | 18 }; |
19 | |
20 } | |
OLD | NEW |