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

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

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: oops Created 3 years, 11 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/android/gvr/gvr_delegate.h ('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 4d57f581a64d2dab47c4978a4c6601f2379634eb..20db11721a52b846ae9406351c8449249e8bbbd4 100644
--- a/device/vr/android/gvr/gvr_device.h
+++ b/device/vr/android/gvr/gvr_device.h
@@ -24,7 +24,6 @@ class GvrDevice : public VRDevice {
// VRDevice
mojom::VRDisplayInfoPtr GetVRDevice() override;
- mojom::VRPosePtr GetPose() override;
void ResetPose() override;
void RequestPresent(const base::Callback<void(bool)>& callback) override;
@@ -34,6 +33,7 @@ class GvrDevice : public VRDevice {
void SubmitFrame(mojom::VRPosePtr pose) override;
void UpdateLayerBounds(mojom::VRLayerBoundsPtr left_bounds,
mojom::VRLayerBoundsPtr right_bounds) override;
+ void GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) override;
void SetDelegate(GvrDelegate* delegate);
@@ -43,7 +43,6 @@ class GvrDevice : public VRDevice {
GvrDelegate* delegate_;
GvrDeviceProvider* gvr_provider_;
bool secure_origin_ = false;
- uint32_t pose_index_ = 1;
DISALLOW_COPY_AND_ASSIGN(GvrDevice);
};
« no previous file with comments | « device/vr/android/gvr/gvr_delegate.h ('k') | device/vr/android/gvr/gvr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698