OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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.math"] | 5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.math"] |
6 module math { | 6 module math { |
7 | 7 |
8 [Client=CalculatorUI] | 8 [Client=CalculatorUI] |
9 interface Calculator { | 9 interface Calculator { |
10 Clear@0(); | 10 Clear@0(); |
11 Add@1(double value@0); | 11 Add@1(double value@0); |
12 Multiply@2(double value@0); | 12 Multiply@2(double value@0); |
13 }; | 13 }; |
14 | 14 |
15 interface CalculatorUI { | 15 interface CalculatorUI { |
16 Output@0(double value@0); | 16 Output@0(double value@0); |
17 }; | 17 }; |
18 | 18 |
19 } | 19 } |
OLD | NEW |