naiveproxy/ui/gfx/mojo/traits_test_service.mojom
2018-08-11 05:35:24 +00:00

28 lines
824 B
Plaintext

// 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 gfx.mojom;
import "ui/gfx/mojo/accelerated_widget.mojom";
import "ui/gfx/mojo/buffer_types.mojom";
import "ui/gfx/mojo/selection_bound.mojom";
import "ui/gfx/mojo/transform.mojom";
// All functions on this interface echo their arguments to test StructTraits
// serialization and deserialization.
interface TraitsTestService {
[Sync]
EchoAcceleratedWidget(AcceleratedWidget w) => (AcceleratedWidget pass);
[Sync]
EchoSelectionBound(SelectionBound s) => (SelectionBound pass);
[Sync]
EchoTransform(Transform t) => (Transform pass);
[Sync]
EchoGpuMemoryBufferHandle(GpuMemoryBufferHandle g)
=> (GpuMemoryBufferHandle pass);
};