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