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

Unified Diff: third_party/WebKit/Source/modules/vr/VRStageParameters.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRStageParameters.idl
diff --git a/third_party/WebKit/Source/modules/vr/VRStageParameters.idl b/third_party/WebKit/Source/modules/vr/VRStageParameters.idl
new file mode 100644
index 0000000000000000000000000000000000000000..fe3851b73246217cb7b8eaa9ceb3f849c5f9a122
--- /dev/null
+++ b/third_party/WebKit/Source/modules/vr/VRStageParameters.idl
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// http://mozvr.github.io/webvr-spec/webvr.html#vrstageparameters
+[
+ RuntimeEnabled=WebVR
+] interface VRStageParameters {
+ // A 16 element array containing the components of a 4x4 transform
+ // matrix. This matrix transforms the sitting space position
+ // returned by get{Immediate}Pose() to a standing space position.
+ readonly attribute Float32Array sittingToStandingTransform;
+
+ // Dimensions of the play area bounds. The bounds are defined
+ // as an axis aligned rectangle on the floor.
+ // The center of the rectangle is at (0,0,0) in standing space
+ // coordinates.
+ // These bounds are defined for safety purposes.
+ // Content should not require the user to move beyond these
+ // bounds; however, it is possible for the user to ignore
+ // the bounds resulting in position values outside of
+ // this rectangle.
+ readonly attribute float sizeX;
+ readonly attribute float sizeZ;
+};
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRStageParameters.cpp ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698