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

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

Issue 2343023002: Switch WebVR to handle GvrApi management through VrShellDelegate (Closed)
Patch Set: Renamed onNativeLibraryReady to initializeNative 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 544c28b25316726aea7adbd5cd379ef6e465a3cd..ef2d8b0b0b78e9076fafcd82b62bf013592ee67b 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