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

Side by Side Diff: third_party/WebKit/Source/modules/vr/VRDisplayCapabilities.idl

Issue 2777903008: Removed deprecated WebVR functionality (Closed)
Patch Set: Created 3 years, 8 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // https://w3c.github.io/webvr/#interface-vrdisplaycapabilities 5 // https://w3c.github.io/webvr/#interface-vrdisplaycapabilities
6 [ 6 [
7 OriginTrialEnabled=WebVR 7 OriginTrialEnabled=WebVR
8 ] interface VRDisplayCapabilities { 8 ] interface VRDisplayCapabilities {
9 // Whether or not the VR display is capable of reporting user orientation.
10 [MeasureAs=VRDisplayCapabilitiesHasOrientation] readonly attribute boolean has Orientation;
11
12 // Whether or not the VR display is capable of reporting user position. 9 // Whether or not the VR display is capable of reporting user position.
13 // If false position may still be reported using simulated values like 10 // If false position may still be reported using simulated values like
14 // neck modeling. 11 // neck modeling.
15 readonly attribute boolean hasPosition; 12 readonly attribute boolean hasPosition;
16 13
17 // Whether or not the VRDisplay is separate from the device’s primary display. 14 // Whether or not the VRDisplay is separate from the device’s primary display.
18 // If presenting VR content will obscure other content on the device, this 15 // If presenting VR content will obscure other content on the device, this
19 // should be false. When false VR content should not be mirrored. 16 // should be false. When false VR content should not be mirrored.
20 readonly attribute boolean hasExternalDisplay; 17 readonly attribute boolean hasExternalDisplay;
21 18
22 // Whether or not the VRDisplay is capable of presenting content to an HMD or 19 // Whether or not the VRDisplay is capable of presenting content to an HMD or
23 // similar device. Can be used to indicate “magic window” devices that are 20 // similar device. Can be used to indicate “magic window” devices that are
24 // capable of 6DoF tracking but for which requestPresent is not meaningful. If 21 // capable of 6DoF tracking but for which requestPresent is not meaningful. If
25 // false then calls to requestPresent should always fail, and getEyeParameters 22 // false then calls to requestPresent should always fail, and getEyeParameters
26 // should return null. 23 // should return null.
27 readonly attribute boolean canPresent; 24 readonly attribute boolean canPresent;
28 25
29 // The maximum length of the array that VRDisplay.requestPresent will accept. 26 // The maximum length of the array that VRDisplay.requestPresent will accept.
30 readonly attribute unsigned long maxLayers; 27 readonly attribute unsigned long maxLayers;
31 }; 28 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698