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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 [Peer=ViewClient] 7 [Peer=ViewClient]
8 interface View { 8 interface View {
9 SetId(int32 id); 9 SetId(int32 id);
10 GetId(); 10 GetId() => (int32 id);
11 }; 11 };
12 12
13 [Peer=View] 13 [Peer=View]
14 interface ViewClient { 14 interface ViewClient {
15 OnGotId(int32 id);
16 }; 15 };
17 16
18 [Peer=ViewManagerClient] 17 [Peer=ViewManagerClient]
19 interface ViewManager { 18 interface ViewManager {
20 CreateView(); 19 CreateView() => (View view);
21 }; 20 };
22 21
23 [Peer=ViewManager] 22 [Peer=ViewManager]
24 interface ViewManagerClient { 23 interface ViewManagerClient {
25 OnViewCreated(View view);
26 }; 24 };
27 25
28 } 26 }
OLDNEW
« 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