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 45f02c4944cf3416fee2fdbabeb221aa9a309473..b9b2b83aac70306d6c9b67b2357e6921a50595d8 100644 |
--- a/third_party/WebKit/Source/modules/sensor/Sensor.idl |
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.idl |
@@ -6,11 +6,9 @@ |
// https://w3c.github.io/sensors/#sensor0 |
Reilly Grant (use Gerrit)
2017/04/05 17:21:18
This link should be updated to:
https://w3c.githu
Mikhail
2017/04/06 09:39:58
Done.
|
enum SensorState { |
Reilly Grant (use Gerrit)
2017/04/05 17:21:18
SensorState is no longer defined in the specificat
Mikhail
2017/04/06 09:39:58
Done.
|
- "unconnected", |
- "activating", |
- "activated", |
"idle", |
- "errored" |
+ "activating", |
+ "activated" |
}; |
[ |
@@ -18,7 +16,7 @@ enum SensorState { |
DependentLifetime, |
RuntimeEnabled=Sensor, |
] interface Sensor : EventTarget { |
- [MeasureAs=GenericSensorState] readonly attribute SensorState state; |
+ [MeasureAs=GenericSensorActivated] readonly attribute boolean activated; |
[CallWith=ScriptState] readonly attribute DOMHighResTimeStamp? timestamp; |
[MeasureAs=GenericSensorStart] void start(); |