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

Side by Side 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, 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
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 DeviceStructTraitsTest {
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
« 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