Index: mojo/common/traits_test_service.mojom |
diff --git a/ui/events/devices/mojo/device_struct_traits_test.mojom b/mojo/common/traits_test_service.mojom |
similarity index 54% |
copy from ui/events/devices/mojo/device_struct_traits_test.mojom |
copy to mojo/common/traits_test_service.mojom |
index 9f88a89780796f0ee7ba0eb630a5a11084acfadc..9ea63a1f06430afcc483d72f97a77b383a72559a 100644 |
--- a/ui/events/devices/mojo/device_struct_traits_test.mojom |
+++ b/mojo/common/traits_test_service.mojom |
@@ -2,16 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-module ui.mojom; |
+module mojo.common.mojom; |
-import "ui/events/devices/mojo/input_devices.mojom"; |
+import "mojo/common/common_custom_types.mojom"; |
// All functions on this interface echo their arguments to test StructTraits |
// serialization and deserialization. |
-interface DeviceStructTraitsTest { |
+interface TraitsTestService { |
[Sync] |
- EchoInputDevice(InputDevice in) => (InputDevice out); |
- |
- [Sync] |
- EchoTouchscreenDevice(TouchscreenDevice in) => (TouchscreenDevice out); |
+ EchoVersion(Version v) => (Version pass); |
}; |