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

Unified Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 2343023002: Switch WebVR to handle GvrApi management through VrShellDelegate (Closed)
Patch Set: Rebase Created 4 years, 3 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: chrome/browser/android/chrome_jni_registrar.cc
diff --git a/chrome/browser/android/chrome_jni_registrar.cc b/chrome/browser/android/chrome_jni_registrar.cc
index b34faec2696be0cedd4835696b697e627d58becf..ace0ffd0eff6cce73951ca4e0ada5df4c7ff9be7 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -174,6 +174,7 @@
#if defined(ENABLE_VR_SHELL)
#include "chrome/browser/android/vr_shell/vr_shell.h"
+#include "chrome/browser/android/vr_shell/vr_shell_delegate.h"
#endif
namespace chrome {
@@ -370,6 +371,7 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"VariationsSession", chrome::android::RegisterVariationsSession},
#if defined(ENABLE_VR_SHELL)
{"VrShell", vr_shell::RegisterVrShell},
+ {"VrShellDelegate", vr_shell::RegisterVrShellDelegate},
#endif
{"WarmupManager", RegisterWarmupManager},
{"WebApkInstaller", WebApkInstaller::Register},

Powered by Google App Engine
This is Rietveld 408576698