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 skia.mojom; |
6 | 6 |
7 import "skia/public/interfaces/bitmap.mojom"; | 7 import "skia/public/interfaces/bitmap.mojom"; |
| 8 import "skia/public/interfaces/bitmap_array.mojom"; |
8 import "skia/public/interfaces/image_filter.mojom"; | 9 import "skia/public/interfaces/image_filter.mojom"; |
9 | 10 |
10 // All functions on this interface echo their arguments to test StructTraits | 11 // All functions on this interface echo their arguments to test StructTraits |
11 // serialization and deserialization. | 12 // serialization and deserialization. |
12 interface TraitsTestService { | 13 interface TraitsTestService { |
13 [Sync] | 14 [Sync] |
14 EchoBitmap(Bitmap b) => (Bitmap pass); | 15 EchoBitmap(Bitmap b) => (Bitmap pass); |
15 | 16 |
16 [Sync] | 17 [Sync] |
| 18 EchoBitmapArray(BitmapArray w) => (BitmapArray pass); |
| 19 |
| 20 [Sync] |
17 EchoImageFilter(ImageFilter i) => (ImageFilter pass); | 21 EchoImageFilter(ImageFilter i) => (ImageFilter pass); |
18 }; | 22 }; |
OLD | NEW |