OLD | NEW |
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.mojom.sample", | 5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.sample", |
6 JavaConstantsClassName="InterfaceConstants", | 6 JavaConstantsClassName="InterfaceConstants", |
7 Foo = "hello world"] | 7 Foo = "hello world"] |
8 module sample; | 8 module sample; |
9 | 9 |
10 const uint64 kLong = 4405; | 10 const uint64 kLong = 4405; |
(...skipping 12 matching lines...) Expand all Loading... |
23 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); | 23 EchoMessagePipeHandle(handle<message_pipe> a) => (handle<message_pipe> a); |
24 EchoEnum(Enum a) => (Enum a); | 24 EchoEnum(Enum a) => (Enum a); |
25 EchoInt(int32 a) => (int32 a); | 25 EchoInt(int32 a) => (int32 a); |
26 }; | 26 }; |
27 | 27 |
28 interface IntegerAccessor { | 28 interface IntegerAccessor { |
29 GetInteger() => (int64 data, [MinVersion=2] Enum type); | 29 GetInteger() => (int64 data, [MinVersion=2] Enum type); |
30 [MinVersion=1] | 30 [MinVersion=1] |
31 SetInteger(int64 data, [MinVersion=3] Enum type); | 31 SetInteger(int64 data, [MinVersion=3] Enum type); |
32 }; | 32 }; |
| 33 |
| 34 interface SingleMethod { |
| 35 Call(); |
| 36 }; |
| 37 |
| 38 interface SingleMethodVendor { |
| 39 GetCaller(associated SingleMethod& request); |
| 40 }; |
OLD | NEW |