| OLD | NEW |
| 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 }; |
| OLD | NEW |