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

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

Issue 2493063004: Fix exiting WebVR via Android UI not fully exiting fullscreen. (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 02f77583ffe40b6b46863e8073ab45194a29c8a0..5c561f4cde7254aad114befede161e4e8b62b070 100644
--- a/device/vr/android/gvr/gvr_device_provider.h
+++ b/device/vr/android/gvr/gvr_device_provider.h
@@ -15,6 +15,7 @@
namespace device {
+class GvrDelegateProvider;
class GvrDelegate;
class GvrDevice;
class VRServiceImpl;
@@ -39,6 +40,8 @@ class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider {
void GvrDelegateReady(GvrDelegate* delegate);
void GvrDelegateRemoved();
+ void SwitchToNonPresentingDelegate();
+
std::unique_ptr<GvrDevice> vr_device_;
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698