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

Unified Diff: device/vr/vr_device_manager.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/vr_device_manager.h
diff --git a/device/vr/vr_device_manager.h b/device/vr/vr_device_manager.h
index 2a3bc206dcd916391a4cc8821b476dd8fe1ca1bc..128f1fd0b7abd5bb31edde9fca6d8e289777f50c 100644
--- a/device/vr/vr_device_manager.h
+++ b/device/vr/vr_device_manager.h
@@ -55,6 +55,8 @@ class VRDeviceManager : public VRClientDispatcher {
void OnDeviceConnectionStatusChanged(VRDevice* device,
bool is_connected) override;
void OnPresentEnded(VRDevice* device) override;
+ void PausePresent(VRDevice* device) override;
+ void ResumePresent(VRDevice* device) override;
private:
friend class VRDeviceManagerTest;

Powered by Google App Engine
This is Rietveld 408576698