| 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 // http://mozvr.github.io/webvr-spec/webvr.html#vrdevice | |
| 6 [ | |
| 7 RuntimeEnabled=WebVR, | |
| 8 ] interface VRDevice { | |
| 9 // An identifier for the distinct hardware unit that this | |
| 10 // VR Device is a part of. All VRDevice/Sensors that come | |
| 11 // from the same hardware will have the same hardwareId. | |
| 12 readonly attribute DOMString hardwareUnitId; | |
| 13 | |
| 14 // An identifier for this distinct sensor/device on a physical | |
| 15 // hardware device. This shouldn't change across browser | |
| 16 // restrats, allowing configuration data to be saved based on it. | |
| 17 readonly attribute DOMString deviceId; | |
| 18 | |
| 19 // A user-readable name identifying the device. | |
| 20 readonly attribute DOMString deviceName; | |
| 21 }; | |
| OLD | NEW |