aboutsummaryrefslogtreecommitdiff
path: root/ui/gfx/range/mojo/range_traits_test_service.mojom
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/range/mojo/range_traits_test_service.mojom')
-rw-r--r--ui/gfx/range/mojo/range_traits_test_service.mojom17
1 files changed, 17 insertions, 0 deletions
diff --git a/ui/gfx/range/mojo/range_traits_test_service.mojom b/ui/gfx/range/mojo/range_traits_test_service.mojom
new file mode 100644
index 0000000..3cde75c
--- /dev/null
+++ b/ui/gfx/range/mojo/range_traits_test_service.mojom
@@ -0,0 +1,17 @@
+// Copyright 2016 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 gfx.mojom;
+
+import "ui/gfx/range/mojo/range.mojom";
+
+// All functions on this interface echo their arguments to test StructTraits
+// serialization and deserialization.
+interface RangeTraitsTestService {
+ [Sync]
+ EchoRange(Range p) => (Range pass);
+
+ [Sync]
+ EchoRangeF(RangeF p) => (RangeF pass);
+};