Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: Source/modules/vr/VRDevice.idl

Issue 848053002: Adding WebVR interface to Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed compiler warning treated as an error on Windows Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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=VRDevice,
8 GarbageCollected,
9 ] interface VRDevice {
10 // An identifier for the distinct hardware unit that this
11 // VR Device is a part of. All VRDevice/Sensors that come
12 // from the same hardware will have the same hardwareId.
13 readonly attribute DOMString hardwareUnitId;
14
15 // An identifier for this distinct sensor/device on a physical
16 // hardware device. This shouldn't change across browser
17 // restrats, allowing configuration data to be saved based on it.
18 readonly attribute DOMString deviceId;
19
20 // A user-readable name identifying the device.
21 readonly attribute DOMString deviceName;
22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698