Index: device/sensors/public/interfaces/orientation.mojom |
diff --git a/device/sensors/public/interfaces/orientation.mojom b/device/sensors/public/interfaces/orientation.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ce6d6200bf9092ce254526b5e2cd34a462062203 |
--- /dev/null |
+++ b/device/sensors/public/interfaces/orientation.mojom |
@@ -0,0 +1,15 @@ |
+// 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(); |
+}; |