| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 module blink.mojom; | 5 module device; |
| 6 | 6 |
| 7 // A field of view, given by 4 degrees describing the view from a center point. | 7 // A field of view, given by 4 degrees describing the view from a center point. |
| 8 struct VRFieldOfView { | 8 struct VRFieldOfView { |
| 9 float upDegrees; | 9 float upDegrees; |
| 10 float downDegrees; | 10 float downDegrees; |
| 11 float leftDegrees; | 11 float leftDegrees; |
| 12 float rightDegrees; | 12 float rightDegrees; |
| 13 }; | 13 }; |
| 14 | 14 |
| 15 // A display's position, orientation, velocity, and acceleration state at the | 15 // A display's position, orientation, velocity, and acceleration state at the |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 VREyeParameters leftEye; | 53 VREyeParameters leftEye; |
| 54 VREyeParameters rightEye; | 54 VREyeParameters rightEye; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 interface VRService { | 57 interface VRService { |
| 58 GetDisplays() => (array<VRDisplay> displays); | 58 GetDisplays() => (array<VRDisplay> displays); |
| 59 [Sync] | 59 [Sync] |
| 60 GetPose(uint32 index) => (VRPose pose); | 60 GetPose(uint32 index) => (VRPose pose); |
| 61 ResetPose(uint32 index); | 61 ResetPose(uint32 index); |
| 62 }; | 62 }; |
| OLD | NEW |