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

Unified Diff: chrome/browser/android/vr_shell/vr_shell_delegate.h

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: Address comments 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: chrome/browser/android/vr_shell/vr_shell_delegate.h
diff --git a/chrome/browser/android/vr_shell/vr_shell_delegate.h b/chrome/browser/android/vr_shell/vr_shell_delegate.h
index 4ac1dfc859823f20b92b8a290677039ea304caf2..6946ddcf000e2c8b70f2a4138e51665b374fe209 100644
--- a/chrome/browser/android/vr_shell/vr_shell_delegate.h
+++ b/chrome/browser/android/vr_shell/vr_shell_delegate.h
@@ -11,6 +11,10 @@
#include "base/macros.h"
#include "device/vr/android/gvr/gvr_delegate.h"
+namespace device {
+class GvrDeviceProvider;
+}
+
namespace vr_shell {
class VrShell;
@@ -22,6 +26,8 @@ class VrShellDelegate : public device::GvrDelegateProvider {
static VrShellDelegate* getNativeDelegate(JNIEnv* env, jobject jdelegate);
+ device::GvrDeviceProvider* GetDeviceProvider() { return device_provider_; }
+
// Called by the Java VrShellDelegate. Returns true if the GvrDeviceProvider
// needs to handle shutdown first.
void ExitWebVRIfNecessary(JNIEnv* env, jobject obj);

Powered by Google App Engine
This is Rietveld 408576698