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

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

Issue 2100893002: Add tests for InputDevice/TouchscreenDevice StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. 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
Index: ui/events/devices/mojo/device_traits_test_service.mojom
diff --git a/skia/public/interfaces/test/traits_test_service.mojom b/ui/events/devices/mojo/device_traits_test_service.mojom
similarity index 55%
copy from skia/public/interfaces/test/traits_test_service.mojom
copy to ui/events/devices/mojo/device_traits_test_service.mojom
index eaa829e8163329b4d5759510b75d83dfb25e2dfe..b067f360ff1e1f81dc9c7c2e582022086a7b6a83 100644
--- a/skia/public/interfaces/test/traits_test_service.mojom
+++ b/ui/events/devices/mojo/device_traits_test_service.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 DeviceTraitsTestService {
Ken Rockot(use gerrit already) 2016/06/27 15:34:33 DeviceTraitsTest is fine (no Service suffixes plea
kylechar 2016/06/27 15:44:25 Done.
[Sync]
- EchoBitmap(Bitmap b) => (Bitmap pass);
+ EchoInputDevice(InputDevice in) => (InputDevice out);
[Sync]
- EchoImageFilter(ImageFilter i) => (ImageFilter pass);
+ EchoTouchscreenDevice(TouchscreenDevice in) => (TouchscreenDevice out);
};
« ui/events/devices/mojo/BUILD.gn ('K') | « ui/events/devices/mojo/device_struct_traits_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698