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

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

Issue 2788633004: [sensors] Align Accelerometer interface with the specification (Closed)
Patch Set: 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: 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 d5665b0e14820d9a12157fb0a39d25070af66648..ab15e7b33b3a067703515df24df59264a68c3ea4 100644
--- a/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
+++ b/third_party/WebKit/Source/modules/sensor/Accelerometer.idl
@@ -7,12 +7,11 @@
[
RuntimeEnabled=Sensor,
- Constructor(optional AccelerometerOptions sensorOptions),
+ Constructor(optional SensorOptions sensorOptions),
ConstructorCallWith=ExecutionContext,
RaisesException=Constructor,
] interface Accelerometer : Sensor {
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