Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Unified Diff: mojo/examples/view_manager/view_manager.mojom

Issue 198343002: Mojo: request/response bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/examples/view_manager/view_manager.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
}
« no previous file with comments | « mojo/examples/view_manager/view_manager.cc ('k') | mojo/gles2/command_buffer_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698