| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // An PositionSensorVRDevice represents a user interface that provides an | |
| 6 // orientation and position in space. This may be a Head Mounted Display or | |
| 7 // any number of other six-degree-of-freedom devices that provide, for example, | |
| 8 // hand tracking. | |
| 9 // http://mozvr.github.io/webvr-spec/webvr.html#positionsensorvrdevice | |
| 10 [ | |
| 11 RuntimeEnabled=WebVR, | |
| 12 ] interface PositionSensorVRDevice : VRDevice { | |
| 13 VRPositionState getState(); | |
| 14 VRPositionState getImmediateState(); | |
| 15 void resetSensor(); | |
| 16 }; | |
| OLD | NEW |