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

Unified Diff: device/vr/vr_device.h

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: 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
Index: device/vr/vr_device.h
diff --git a/device/vr/vr_device.h b/device/vr/vr_device.h
index 93c9aa0377736c138e96a0009b6263367a026757..2abfe39bf9c169937753b7d9b5e0e9c4f739ccb5 100644
--- a/device/vr/vr_device.h
+++ b/device/vr/vr_device.h
@@ -24,7 +24,6 @@ class DEVICE_VR_EXPORT VRDevice {
unsigned int id() const { return id_; }
virtual mojom::VRDisplayInfoPtr GetVRDevice() = 0;
- virtual mojom::VRPosePtr GetPose() = 0;
virtual void ResetPose() = 0;
virtual void RequestPresent(const base::Callback<void(bool)>& callback) = 0;
@@ -46,6 +45,8 @@ class DEVICE_VR_EXPORT VRDevice {
virtual void OnFocus();
virtual void OnActivate(mojom::VRDisplayEventReason reason);
virtual void OnDeactivate(mojom::VRDisplayEventReason reason);
+ virtual void OnVRVsyncProviderReady(
+ const base::Callback<void(mojom::VRVSyncProviderClientPtr)>& callback);
protected:
friend class VRDisplayImpl;

Powered by Google App Engine
This is Rietveld 408576698