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

Unified Diff: device/vr/vr_service.mojom

Issue 2329893002: Isolate a presenting VR device from pages other than the one presenting. (Closed)
Patch Set: Unit tests Created 4 years, 3 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 | « device/vr/vr_device_manager_unittest.cc ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « device/vr/vr_device_manager_unittest.cc ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698