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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.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/Sensor.idl
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.idl b/third_party/WebKit/Source/modules/sensor/Sensor.idl
index 837067744cbd31f583b3b5e70d15be23744690a5..e709671153460a35e883326658a1f29cbba9f4e1 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.idl
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.idl
@@ -18,7 +18,7 @@ enum SensorState {
RuntimeEnabled=Sensor,
] interface Sensor : EventTarget {
readonly attribute SensorState state;
- readonly attribute SensorReading? reading;
+ [CallWith=ScriptState] readonly attribute DOMHighResTimeStamp? timestamp;
[CallWith=ScriptState, RaisesException, MeasureAs=GenericSensorStart] void start();
[CallWith=ScriptState, RaisesException, MeasureAs=GenericSensorStop] void stop();
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/Sensor.cpp ('k') | third_party/WebKit/Source/modules/sensor/SensorProviderProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698