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

Unified Diff: third_party/WebKit/Source/modules/vr/VRLayer.idl

Issue 2747373002: Update WebVR API based on prerelease 1.1 except window and navigator interface (Closed)
Patch Set: Update wpt test Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRLayer.idl
diff --git a/third_party/WebKit/Source/modules/vr/VRLayer.idl b/third_party/WebKit/Source/modules/vr/VRLayer.idl
deleted file mode 100644
index 3fab7218fe075a453adaaf274a48ac2e7f30343e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/vr/VRLayer.idl
+++ /dev/null
@@ -1,21 +0,0 @@
-// 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.
-
-typedef (HTMLCanvasElement or OffscreenCanvas) VRSource;
-
-// https://w3c.github.io/webvr/#interface-vrlayer
-
-dictionary VRLayer {
- // The canvas to be presented to the VRDisplay
- VRSource? source = null;
-
- // The left and right bounds contain 4 git statvalues defining the texture bounds
- // within the canvas to present to the eye in UV space.
- // [0] left offset of the bounds (0.0 - 1.0)
- // [1] top offset of the bounds (0.0 - 1.0)
- // [2] width of the bounds (0.0 - 1.0)
- // [3] height of the bounds (0.0 - 1.0)
- sequence<float> leftBounds = []; //= [0.0, 0.0, 0.5, 1.0];
- sequence<float> rightBounds = []; //= [0.5, 0.0, 0.5, 1.0];
-};
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRFieldOfView.idl ('k') | third_party/WebKit/Source/modules/vr/VRLayerInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698