summaryrefslogtreecommitdiffstats
path: root/mojo/public/bindings/tests/math_calculator.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/bindings/tests/math_calculator.mojom')
-rw-r--r--mojo/public/bindings/tests/math_calculator.mojom19
1 files changed, 19 insertions, 0 deletions
diff --git a/mojo/public/bindings/tests/math_calculator.mojom b/mojo/public/bindings/tests/math_calculator.mojom
new file mode 100644
index 0000000..949a902
--- /dev/null
+++ b/mojo/public/bindings/tests/math_calculator.mojom
@@ -0,0 +1,19 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module math {
+
+[Peer=CalculatorUI]
+interface Calculator {
+ void Clear() @0;
+ void Add(double value @0) @1;
+ void Multiply(double value @0) @2;
+};
+
+[Peer=Calculator]
+interface CalculatorUI {
+ void Output(double value @0) @0;
+};
+
+}