| Index: mojo/services/public/interfaces/view_manager/view_manager.mojom
|
| diff --git a/mojo/services/public/interfaces/view_manager/view_manager.mojom b/mojo/services/public/interfaces/view_manager/view_manager.mojom
|
| index 39748a1bd421adfd98f34c726900a8f38437cb11..7e0f9f7fc313f4c10993c6c15530671fb4a2d3cf 100644
|
| --- a/mojo/services/public/interfaces/view_manager/view_manager.mojom
|
| +++ b/mojo/services/public/interfaces/view_manager/view_manager.mojom
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +import "../../../../public/interfaces/geometry/geometry.mojom"
|
| +
|
| module mojo.view_manager {
|
|
|
| struct INode {
|
| @@ -33,6 +35,9 @@ interface IViewManager {
|
| // delete it.
|
| DeleteNode(uint32 node_id) => (bool success);
|
|
|
| + // Sets the specified bounds of the specified node.
|
| + SetNodeBounds(uint32 node_id, mojo.Rect bounds) => (bool success);
|
| +
|
| // Reparents a node. See description above class for details of |change_id|.
|
| // This fails for any of the following reasons:
|
| // . |server_change_id| is not the expected id.
|
| @@ -108,6 +113,9 @@ interface IViewManagerClient {
|
| // OnServerChangeIdAdvanced().
|
| OnServerChangeIdAdvanced(uint32 next_server_change_id);
|
|
|
| + // Invoked when a node's bounds have changed.
|
| + OnNodeBoundsChanged(uint32 node, mojo.Rect old_bounds, mojo.Rect new_bounds);
|
| +
|
| // Invoked when a change is done to the hierarchy. A value of 0 is used to
|
| // identify a null node. For example, if the old_parent is NULL, 0 is
|
| // supplied. See description above ViewManager for details on the change ids.
|
|
|