Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: device/sensors/public/interfaces/orientation.mojom

Issue 2037513002: Convert device_sensors to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conversion--mime-registry
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/sensors/public/interfaces/motion.mojom ('k') | device/sensors/sensors.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+};
« no previous file with comments | « device/sensors/public/interfaces/motion.mojom ('k') | device/sensors/sensors.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698