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

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

Issue 2347803002: Drop empty [] for dictionaries and interfaces in IDL files (Closed)
Patch Set: fix p_ExtendedAttributeList Created 4 years, 3 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 // http://mozvr.github.io/webvr-spec/webvr.html#vrdisplaycapabilities 5 // http://mozvr.github.io/webvr-spec/webvr.html#vrdisplaycapabilities
6 [ 6 [
7 RuntimeEnabled=WebVR 7 RuntimeEnabled=WebVR
8 ] interface VRDisplayCapabilities { 8 ] interface VRDisplayCapabilities {
9 // Whether or not the VR display is capable of reporting user orientation. 9 // Whether or not the VR display is capable of reporting user orientation.
10 readonly attribute boolean hasOrientation; 10 readonly attribute boolean hasOrientation;
(...skipping 10 matching lines...) Expand all
21 21
22 // Whether or not the VRDisplay is capable of presenting content to an HMD or 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 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 24 // capable of 6DoF tracking but for which requestPresent is not meaningful. If
25 // false then calls to requestPresent should always fail, and getEyeParameters 25 // false then calls to requestPresent should always fail, and getEyeParameters
26 // should return null. 26 // should return null.
27 readonly attribute boolean canPresent; 27 readonly attribute boolean canPresent;
28 28
29 // The maximum length of the array that VRDisplay.requestPresent will accept. 29 // The maximum length of the array that VRDisplay.requestPresent will accept.
30 readonly attribute unsigned long maxLayers; 30 readonly attribute unsigned long maxLayers;
31 }; 31 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/storage/Storage.idl ('k') | third_party/WebKit/Source/modules/vr/VREyeParameters.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698