OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 Iterable, | 6 RuntimeEnabled=VRDevice, |
7 GarbageCollected, | 7 GarbageCollected, |
8 NoInterfaceObject, | 8 ] interface PositionSensorVRDevice : VRDevice { |
9 ] interface Iterator { | 9 VRPositionState getState(optional double timeOffset); |
10 [CallWith=ScriptState, RaisesException] any next(optional any value); | 10 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.
| |
11 }; | 11 }; |
OLD | NEW |