| 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 // fou
nd in the LICENSE file. | 2 // Use of this source code is governed by a BSD-style license that can be // fou
nd in the LICENSE file. |
| 3 | 3 |
| 4 module device.mojom; | 4 module device.mojom; |
| 5 | 5 |
| 6 // A field of view, given by 4 degrees describing the view from a center point. | 6 // A field of view, given by 4 degrees describing the view from a center point. |
| 7 struct VRFieldOfView { | 7 struct VRFieldOfView { |
| 8 float upDegrees; | 8 float upDegrees; |
| 9 float downDegrees; | 9 float downDegrees; |
| 10 float leftDegrees; | 10 float leftDegrees; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 RequestPresent(bool secureOrigin) => (bool success); | 83 RequestPresent(bool secureOrigin) => (bool success); |
| 84 ExitPresent(); | 84 ExitPresent(); |
| 85 SubmitFrame(VRPose? pose); | 85 SubmitFrame(VRPose? pose); |
| 86 UpdateLayerBounds(VRLayerBounds leftBounds, VRLayerBounds rightBounds); | 86 UpdateLayerBounds(VRLayerBounds leftBounds, VRLayerBounds rightBounds); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 interface VRDisplayClient { | 89 interface VRDisplayClient { |
| 90 OnDisplayChanged(VRDisplayInfo display); | 90 OnDisplayChanged(VRDisplayInfo display); |
| 91 OnExitPresent(); | 91 OnExitPresent(); |
| 92 OnDisplayBlur(); |
| 93 OnDisplayFocus(); |
| 92 }; | 94 }; |
| OLD | NEW |