Index: device/vr/vr_service.mojom |
diff --git a/device/vr/vr_service.mojom b/device/vr/vr_service.mojom |
index 58458d5a6dac7fd993ef62c764667e7f67abebda..aee46b7a282bcfa33564cfc0d7bded4fb117b024 100644 |
--- a/device/vr/vr_service.mojom |
+++ b/device/vr/vr_service.mojom |
@@ -66,15 +66,16 @@ interface VRService { |
GetDisplays() => (array<VRDisplay> displays); |
[Sync] |
- GetPose(uint32 index) => (VRPose pose); |
+ GetPose(uint32 index) => (VRPose? pose); |
ResetPose(uint32 index); |
- RequestPresent(uint32 index); |
+ RequestPresent(uint32 index) => (bool success); |
ExitPresent(uint32 index); |
- SubmitFrame(uint32 index); |
+ SubmitFrame(uint32 index, VRPose pose); |
UpdateLayerBounds(uint32 index, VRLayerBounds leftBounds, VRLayerBounds rightBounds); |
}; |
interface VRServiceClient { |
OnDisplayChanged(VRDisplay display); |
+ OnExitPresent(uint32 index); |
}; |