Index: Source/modules/vr/PositionSensorVRDevice.idl |
diff --git a/Source/core/dom/Iterator.idl b/Source/modules/vr/PositionSensorVRDevice.idl |
similarity index 54% |
copy from Source/core/dom/Iterator.idl |
copy to Source/modules/vr/PositionSensorVRDevice.idl |
index 87027c5bdac9d26ac0404df9ed40c057f021eb1b..dcaf82dbcf5165af3bfc173b2a498fb437a15c7b 100644 |
--- a/Source/core/dom/Iterator.idl |
+++ b/Source/modules/vr/PositionSensorVRDevice.idl |
@@ -3,9 +3,9 @@ |
// found in the LICENSE file. |
[ |
- Iterable, |
+ RuntimeEnabled=VRDevice, |
GarbageCollected, |
- NoInterfaceObject, |
-] interface Iterator { |
- [CallWith=ScriptState, RaisesException] any next(optional any value); |
+] interface PositionSensorVRDevice : VRDevice { |
+ VRPositionState getState(optional double timeOffset); |
+ void zeroSensor(); |
philipj_slow
2015/02/06 01:57:14
zero is an odd verb, and apparently you agree sinc
philipj_slow
2015/02/23 02:33:10
resetSensor() it is.
|
}; |