naiveproxy/skia/public/interfaces/test/traits_test_service.mojom

23 lines
688 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module skia.mojom;
import "skia/public/interfaces/image_info.mojom";
import "skia/public/interfaces/bitmap.mojom";
import "skia/public/interfaces/blur_image_filter_tile_mode.mojom";
// All functions on this interface echo their arguments to test StructTraits
// serialization and deserialization.
interface TraitsTestService {
[Sync]
EchoImageInfo(ImageInfo i) => (ImageInfo pass);
[Sync]
EchoBitmap(Bitmap b) => (Bitmap pass);
[Sync]
EchoBlurImageFilterTileMode(BlurTileMode t) => (BlurTileMode pass);
};