Index: content/browser/android/browser_jni_registrar.cc |
diff --git a/content/browser/android/browser_jni_registrar.cc b/content/browser/android/browser_jni_registrar.cc |
index 808e3f3ebbc99007818de7fd3cd1302eebc188af..43adba8aa2e8866f9cc88375a4ad068dc7ad5f57 100644 |
--- a/content/browser/android/browser_jni_registrar.cc |
+++ b/content/browser/android/browser_jni_registrar.cc |
@@ -40,6 +40,7 @@ |
#include "content/browser/screen_orientation/screen_orientation_delegate_android.h" |
#include "content/browser/speech/speech_recognizer_impl_android.h" |
#include "content/browser/time_zone_monitor_android.h" |
+#include "content/browser/vr/android/cardboard/cardboard_vr_device.h" |
#include "content/browser/web_contents/web_contents_android.h" |
#include "mojo/android/system/core_impl.h" |
@@ -52,6 +53,10 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = { |
{"BrowserAccessibilityManager", |
content::RegisterBrowserAccessibilityManager}, |
{"BrowserStartupController", content::RegisterBrowserStartupController}, |
+#if defined(ENABLE_WEBVR) |
+ {"CardboardVRDevice", |
+ content::CardboardVRDevice::RegisterCardboardVRDevice}, |
+#endif |
{"ChildProcessLauncher", content::RegisterChildProcessLauncher}, |
{"ContentReadbackHandler", |
content::ContentReadbackHandler::RegisterContentReadbackHandler}, |