| 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 module math { | 5 module math { |
| 6 | 6 |
| 7 [Peer=CalculatorUI] | |
| 8 interface Calculator { | 7 interface Calculator { |
| 9 Clear@0(); | 8 SetUI@0(CalculatorUI ui@0); |
| 10 Add@1(double value @0); | 9 Clear@1(); |
| 11 Multiply@2(double value @0); | 10 Add@2(double value @0); |
| 11 Multiply@3(double value @0); |
| 12 }; | 12 }; |
| 13 | 13 |
| 14 [Peer=Calculator] | |
| 15 interface CalculatorUI { | 14 interface CalculatorUI { |
| 16 Output@0(double value @0); | 15 Output@0(double value @0); |
| 17 }; | 16 }; |
| 18 | 17 |
| 19 } | 18 } |
| OLD | NEW |