naiveproxy/device/sensors/public/interfaces/orientation.mojom

16 lines
415 B
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +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 device.mojom;
interface OrientationAbsoluteSensor {
StartPolling() => (handle<shared_buffer> memory_handle);
StopPolling();
};
interface OrientationSensor {
StartPolling() => (handle<shared_buffer> memory_handle);
StopPolling();
};