Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(471)

Unified Diff: ui/events/devices/mojo/device_struct_traits_test.mojom

Issue 2100893002: Add tests for InputDevice/TouchscreenDevice StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/devices/mojo/DEPS ('k') | ui/events/devices/mojo/device_struct_traits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/devices/mojo/device_struct_traits_test.mojom
diff --git a/skia/public/interfaces/test/traits_test_service.mojom b/ui/events/devices/mojo/device_struct_traits_test.mojom
similarity index 55%
copy from skia/public/interfaces/test/traits_test_service.mojom
copy to ui/events/devices/mojo/device_struct_traits_test.mojom
index eaa829e8163329b4d5759510b75d83dfb25e2dfe..9f88a89780796f0ee7ba0eb630a5a11084acfadc 100644
--- a/skia/public/interfaces/test/traits_test_service.mojom
+++ b/ui/events/devices/mojo/device_struct_traits_test.mojom
@@ -2,17 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module skia.mojom;
+module ui.mojom;
-import "skia/public/interfaces/bitmap.mojom";
-import "skia/public/interfaces/image_filter.mojom";
+import "ui/events/devices/mojo/input_devices.mojom";
// All functions on this interface echo their arguments to test StructTraits
// serialization and deserialization.
-interface TraitsTestService {
+interface DeviceStructTraitsTest {
[Sync]
- EchoBitmap(Bitmap b) => (Bitmap pass);
+ EchoInputDevice(InputDevice in) => (InputDevice out);
[Sync]
- EchoImageFilter(ImageFilter i) => (ImageFilter pass);
+ EchoTouchscreenDevice(TouchscreenDevice in) => (TouchscreenDevice out);
};
« no previous file with comments | « ui/events/devices/mojo/DEPS ('k') | ui/events/devices/mojo/device_struct_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698