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

Unified Diff: third_party/WebKit/Source/modules/sensor/Accelerometer.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/Accelerometer.idl
diff --git a/third_party/WebKit/Source/modules/sensor/Accelerometer.idl b/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
index 5c984f8de4b1326aaa70317e0c7cd74bd632712e..d5665b0e14820d9a12157fb0a39d25070af66648 100644
--- a/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
+++ b/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
@@ -11,6 +11,8 @@
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
] interface Accelerometer : Sensor {
- readonly attribute AccelerometerReading? reading;
+ readonly attribute unrestricted double? x;
+ readonly attribute unrestricted double? y;
+ readonly attribute unrestricted double? z;
readonly attribute boolean includesGravity;
};

Powered by Google App Engine
This is Rietveld 408576698