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