naiveproxy/ui/events/devices/mojo/device_struct_traits_test.mojom

18 lines
540 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +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 ui.mojom;
import "ui/events/devices/mojo/input_devices.mojom";
// All functions on this interface echo their arguments to test StructTraits
// serialization and deserialization.
interface DeviceStructTraitsTest {
[Sync]
EchoInputDevice(InputDevice in) => (InputDevice out);
[Sync]
EchoTouchscreenDevice(TouchscreenDevice in) => (TouchscreenDevice out);
};