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

Unified Diff: third_party/WebKit/Source/modules/sensor/Magnetometer.idl

Issue 2668173003: [Sensors] Remove SensorReading interfaces (Closed)
Patch Set: updated global-interface-listing.html Created 3 years, 11 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: third_party/WebKit/Source/modules/sensor/Magnetometer.idl
diff --git a/third_party/WebKit/Source/modules/sensor/Magnetometer.idl b/third_party/WebKit/Source/modules/sensor/Magnetometer.idl
index 2d0f8a57926489928312bb72bef0b349eb2b1caf..cc29a23ebc64ed4c78b651b04db8c5c559070c9f 100644
--- a/third_party/WebKit/Source/modules/sensor/Magnetometer.idl
+++ b/third_party/WebKit/Source/modules/sensor/Magnetometer.idl
@@ -11,5 +11,7 @@
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
] interface Magnetometer : Sensor {
- readonly attribute MagnetometerReading? reading;
+ readonly attribute unrestricted double? x;
+ readonly attribute unrestricted double? y;
+ readonly attribute unrestricted double? z;
};

Powered by Google App Engine
This is Rietveld 408576698