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

Unified Diff: device/vr/vr_service.mojom

Issue 2167643003: Refactored VRService interaction and added VRServiceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Liberal sprinkling of 'u's Created 4 years, 5 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.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 fb9bdb564083806bae14274cf8ccbf444cabcf8b..253513d50c1802636c6416f244d354a9fe48b5fd 100644
--- a/device/vr/vr_service.mojom
+++ b/device/vr/vr_service.mojom
@@ -55,8 +55,14 @@ struct VRDisplay {
};
interface VRService {
+ SetClient(VRServiceClient client);
+
GetDisplays() => (array<VRDisplay> displays);
[Sync]
GetPose(uint32 index) => (VRPose pose);
ResetPose(uint32 index);
};
+
+interface VRServiceClient {
+ OnDisplayChanged(VRDisplay display);
+};
« no previous file with comments | « device/vr/vr_device_manager.cc ('k') | device/vr/vr_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698