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; | 5 module mojo; |
6 | 6 |
7 import "geometry/public/interfaces/geometry.mojom"; | 7 import "ui/mojo/events/input_events.mojom"; |
8 import "input_events/public/interfaces/input_events.mojom"; | 8 import "ui/mojo/geometry/geometry.mojom"; |
9 | 9 |
10 // WindowManagerInternal is an interface provided by the WindowManager | 10 // WindowManagerInternal is an interface provided by the WindowManager |
11 // exclusively to the ViewManager. | 11 // exclusively to the ViewManager. |
12 interface WindowManagerInternal { | 12 interface WindowManagerInternal { |
13 // Creates a connection to the WindowManager specifically for a connection to | 13 // Creates a connection to the WindowManager specifically for a connection to |
14 // the ViewManager. |connection_id| is the id of the connection to the | 14 // the ViewManager. |connection_id| is the id of the connection to the |
15 // ViewManager. See view_manager.mojom for details on the id. | 15 // ViewManager. See view_manager.mojom for details on the id. |
16 CreateWindowManagerForViewManagerClient( | 16 CreateWindowManagerForViewManagerClient( |
17 uint16 connection_id, | 17 uint16 connection_id, |
18 handle<message_pipe> window_manager_pipe); | 18 handle<message_pipe> window_manager_pipe); |
(...skipping 11 matching lines...) Expand all Loading... |
30 // Sets the native viewport size. | 30 // Sets the native viewport size. |
31 SetViewportSize(mojo.Size size); | 31 SetViewportSize(mojo.Size size); |
32 | 32 |
33 // Clones the tree rooted at |view_id|. When the animation completes the clone | 33 // Clones the tree rooted at |view_id|. When the animation completes the clone |
34 // is destroyed. | 34 // is destroyed. |
35 // TODO(sky): add actual animation. | 35 // TODO(sky): add actual animation. |
36 // TODO(sky): I think this only makes sense when destroying (view is | 36 // TODO(sky): I think this only makes sense when destroying (view is |
37 // already visible), should it be named to indicate this? | 37 // already visible), should it be named to indicate this? |
38 CloneAndAnimate(uint32 view_id); | 38 CloneAndAnimate(uint32 view_id); |
39 }; | 39 }; |
OLD | NEW |