Index: mojo/examples/view_manager/view_manager.mojom |
diff --git a/mojo/examples/view_manager/view_manager.mojom b/mojo/examples/view_manager/view_manager.mojom |
index 76947b680c0eb8c8ea107575e68e6a706729aef6..56beea48e08e6a04e7daf589b8ce94345623e839 100644 |
--- a/mojo/examples/view_manager/view_manager.mojom |
+++ b/mojo/examples/view_manager/view_manager.mojom |
@@ -7,22 +7,20 @@ module mojo { |
[Peer=ViewClient] |
interface View { |
SetId(int32 id); |
- GetId(); |
+ GetId() => (int32 id); |
}; |
[Peer=View] |
interface ViewClient { |
- OnGotId(int32 id); |
}; |
[Peer=ViewManagerClient] |
interface ViewManager { |
- CreateView(); |
+ CreateView() => (View view); |
}; |
[Peer=ViewManager] |
interface ViewManagerClient { |
- OnViewCreated(View view); |
}; |
} |