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

Unified Diff: third_party/WebKit/public/platform/modules/vr/vr_service.mojom

Issue 2041003003: Moved vr_service.mojom from blink to device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed missing mojo dependency in gyp builds Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/vr/OWNERS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/vr/vr_service.mojom
diff --git a/third_party/WebKit/public/platform/modules/vr/vr_service.mojom b/third_party/WebKit/public/platform/modules/vr/vr_service.mojom
deleted file mode 100644
index 788b58cbca52201ac89ec2dbc5347885d8d50457..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/vr/vr_service.mojom
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2015 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.
-
-module blink.mojom;
-
-// A field of view, given by 4 degrees describing the view from a center point.
-struct VRFieldOfView {
- float upDegrees;
- float downDegrees;
- float leftDegrees;
- float rightDegrees;
-};
-
-// A display's position, orientation, velocity, and acceleration state at the
-// given timestamp.
-struct VRPose {
- double timestamp;
- array<float, 4>? orientation;
- array<float, 3>? position;
- array<float, 3>? angularVelocity;
- array<float, 3>? linearVelocity;
- array<float, 3>? angularAcceleration;
- array<float, 3>? linearAcceleration;
-};
-
-struct VRDisplayCapabilities {
- bool hasOrientation;
- bool hasPosition;
- bool hasExternalDisplay;
- bool canPresent;
-};
-
-// Information about the optical properties for an eye in a VRDisplay.
-struct VREyeParameters {
- VRFieldOfView fieldOfView;
- array<float, 3> offset;
- uint32 renderWidth;
- uint32 renderHeight;
-};
-
-struct VRStageParameters {
- array<float, 16> standingTransform;
- float sizeX;
- float sizeZ;
-};
-
-struct VRDisplay {
- uint32 index;
- string displayName;
- VRDisplayCapabilities capabilities;
- VRStageParameters? stageParameters;
- VREyeParameters leftEye;
- VREyeParameters rightEye;
-};
-
-interface VRService {
- GetDisplays() => (array<VRDisplay> displays);
- [Sync]
- GetPose(uint32 index) => (VRPose pose);
- ResetPose(uint32 index);
-};
« no previous file with comments | « third_party/WebKit/public/platform/modules/vr/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698