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

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

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: 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
Index: device/vr/android/gvr/gvr_device_provider.h
diff --git a/device/vr/android/gvr/gvr_device_provider.h b/device/vr/android/gvr/gvr_device_provider.h
index 23f8cb0832ebf83444db07b1a4d77cf6beffd24d..e7b176f86f30af6805a356c927bfc2e86baf773a 100644
--- a/device/vr/android/gvr/gvr_device_provider.h
+++ b/device/vr/android/gvr/gvr_device_provider.h
@@ -34,6 +34,8 @@ class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider {
// Called from GvrDelegate
void OnGvrDelegateReady(GvrDelegate* delegate);
void OnGvrDelegateRemoved();
+ void PausePresent();
+ void ResumePresent();
void SetClient(VRClientDispatcher* client) override;

Powered by Google App Engine
This is Rietveld 408576698