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

Side by Side Diff: mojo/public/interfaces/bindings/tests/sample_interfaces.mojom

Issue 262633005: Adding attributes to module and struct in mojom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix annotations Created 6 years, 7 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
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 [JavaPackage="org.chromium.mojo.bindings.test",
6 Foo = "hello world"]
5 module sample { 7 module sample {
6 8
7 enum Enum { 9 enum Enum {
8 ENUM_VALUE 10 ENUM_VALUE
9 }; 11 };
10 12
11 [Peer=ProviderClient] 13 [Peer=ProviderClient]
12 interface Provider { 14 interface Provider {
13 EchoString(string a) => (string a); 15 EchoString(string a) => (string a);
14 EchoStrings(string a, string b) => (string a, string b); 16 EchoStrings(string a, string b) => (string a, string b);
15 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); 17 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a);
16 EchoEnum(Enum a) => (Enum a); 18 EchoEnum(Enum a) => (Enum a);
17 }; 19 };
18 20
19 [Peer=Provider] 21 [Peer=Provider]
20 interface ProviderClient { 22 interface ProviderClient {
21 }; 23 };
22 24
23 } 25 }
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/sample_import2.mojom ('k') | mojo/public/interfaces/bindings/tests/sample_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698