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

Unified Diff: device/generic_sensor/public/interfaces/sensor.mojom

Issue 2726093003: [sensors][android] Add support for AbsoluteOrientation sensor (Closed)
Patch Set: Rebased to master, rename enum Created 3 years, 9 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
Index: device/generic_sensor/public/interfaces/sensor.mojom
diff --git a/device/generic_sensor/public/interfaces/sensor.mojom b/device/generic_sensor/public/interfaces/sensor.mojom
index be7150150a4f1a947941a0334358384508e09cd8..3a6bfb530c90bf3d9b12c931b8d1eb922e3a61fe 100644
--- a/device/generic_sensor/public/interfaces/sensor.mojom
+++ b/device/generic_sensor/public/interfaces/sensor.mojom
@@ -14,7 +14,8 @@ enum SensorType {
GYROSCOPE,
MAGNETOMETER,
PRESSURE,
- LAST = PRESSURE // Note: LAST is also equal to the types count.
+ ABSOLUTE_ORIENTATION,
+ LAST = ABSOLUTE_ORIENTATION // Note: LAST is also equal to the types count.
};
// Reporting mode supported by the Sensor.
« no previous file with comments | « device/generic_sensor/public/cpp/sensor_reading.h ('k') | device/generic_sensor/public/interfaces/sensor_provider.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698