| Index: device/sensors/public/interfaces/light.mojom
|
| diff --git a/device/sensors/public/interfaces/light.mojom b/device/sensors/public/interfaces/light.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3c12347dd39f2a6f3ecff27f4e5ba494de2ddd48
|
| --- /dev/null
|
| +++ b/device/sensors/public/interfaces/light.mojom
|
| @@ -0,0 +1,10 @@
|
| +// 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 LightSensor {
|
| + StartPolling() => (handle<shared_buffer> memory_handle);
|
| + StopPolling();
|
| +};
|
|
|