Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 [ | |
|
sof
2015/02/24 12:35:29
Could you add a spec url reference here, if availa
| |
| 6 RuntimeEnabled=VRDevice, | |
| 7 GarbageCollected, | |
| 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 |