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

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

Issue 1918143007: Updated Blink WebVR interfaces to WebVR v1 spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webvr_mojo
Patch Set: Fixed layout test Created 4 years, 7 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 2016 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#vrdisplaycapabilities
6 [
7 RuntimeEnabled=WebVR
8 ] interface VRDisplayCapabilities {
9 // Whether or not the VR display is capable of reporting user orientation.
10 readonly attribute boolean hasOrientation;
11
12 // Whether or not the VR display is capable of reporting user position.
13 // If false position may still be reported using simulated values like
14 // neck modeling.
15 readonly attribute boolean hasPosition;
16
17 // 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
19 // should be false. When false VR content should not be mirrored.
20 readonly attribute boolean hasExternalDisplay;
21
22 // 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
24 // capable of 6DoF tracking but for which requestPresent is not meaningful. If
25 // false then calls to requestPresent should always fail, and getEyeParameters
26 // should return null.
27 readonly attribute boolean canPresent;
28
29 // The maximum length of the array that VRDisplay.requestPresent will accept.
30 readonly attribute unsigned long maxLayers;
31 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698