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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module skia.mojom; 5 module ui.mojom;
6 6
7 import "skia/public/interfaces/bitmap.mojom"; 7 import "ui/events/devices/mojo/input_devices.mojom";
8 import "skia/public/interfaces/image_filter.mojom";
9 8
10 // All functions on this interface echo their arguments to test StructTraits 9 // All functions on this interface echo their arguments to test StructTraits
11 // serialization and deserialization. 10 // serialization and deserialization.
12 interface TraitsTestService { 11 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.
13 [Sync] 12 [Sync]
14 EchoBitmap(Bitmap b) => (Bitmap pass); 13 EchoInputDevice(InputDevice in) => (InputDevice out);
15 14
16 [Sync] 15 [Sync]
17 EchoImageFilter(ImageFilter i) => (ImageFilter pass); 16 EchoTouchscreenDevice(TouchscreenDevice in) => (TouchscreenDevice out);
18 }; 17 };
OLDNEW
« 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