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..e556c7d82cb2b8335dcc9183b954178cc8be0417 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 resetSensor(); |
}; |