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

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

Issue 2252103002: Introduce ChromeVR to Chrome on Android (behind a build flag) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comment as suggested by Daniel Created 4 years, 4 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/vr_shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bce9a1e1c31508c14698743befe6fdf61f081b3b..cd723b20537969a392f61aecc62f503a4d0fa864 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -167,6 +167,10 @@
#include "printing/printing_context_android.h"
#endif
+#if defined(ENABLE_VR_SHELL)
+#include "chrome/browser/android/vr_shell/vr_shell.h"
+#endif
+
namespace chrome {
namespace android {
@@ -354,6 +358,9 @@ static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
{"UsbChooserDialogAndroid", UsbChooserDialogAndroid::Register},
{"Variations", variations::android::RegisterVariations},
{"VariationsSession", chrome::android::RegisterVariationsSession},
+#if defined(ENABLE_VR_SHELL)
+ {"VrShell", vr_shell::RegisterVrShell},
+#endif
{"WarmupManager", RegisterWarmupManager},
{"WebApkUpdateManager", WebApkUpdateManager::Register},
{"WebappRegistry", WebappRegistry::RegisterWebappRegistry},
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/vr_shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698