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

Unified Diff: device/vr/android/gvr/gvr_device.h

Issue 2494733002: Reland of mojo VR interface simpified. (Closed)
Patch Set: Fix Werror Created 4 years, 1 month 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/BUILD.gn ('k') | device/vr/android/gvr/gvr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_device.h
diff --git a/device/vr/android/gvr/gvr_device.h b/device/vr/android/gvr/gvr_device.h
index 2f7baaa1fead43b188a6b15f419e36aedfc90e0b..339b30df77a0e96995038846b1a13bc207cd2f13 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -23,16 +23,17 @@ class GvrDevice : public VRDevice {
~GvrDevice() override;
// VRDevice
- VRDisplayPtr GetVRDevice() override;
- VRPosePtr GetPose() override;
- void ResetPose() override;
+ mojom::VRDisplayInfoPtr GetVRDevice() override;
+ mojom::VRPosePtr GetPose(VRServiceImpl* service) override;
+ void ResetPose(VRServiceImpl* service) override;
- bool RequestPresent(bool secure_origin) override;
- void ExitPresent() override;
+ bool RequestPresent(VRServiceImpl* service, bool secure_origin) override;
+ void ExitPresent(VRServiceImpl* service) override;
- void SubmitFrame(VRPosePtr pose) override;
- void UpdateLayerBounds(VRLayerBoundsPtr leftBounds,
- VRLayerBoundsPtr rightBounds) override;
+ void SubmitFrame(VRServiceImpl* service, mojom::VRPosePtr pose) override;
+ void UpdateLayerBounds(VRServiceImpl* service,
+ mojom::VRLayerBoundsPtr leftBounds,
+ mojom::VRLayerBoundsPtr rightBounds) override;
void SetDelegate(GvrDelegate* delegate);
« no previous file with comments | « device/vr/BUILD.gn ('k') | device/vr/android/gvr/gvr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698