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

Unified Diff: content/browser/android/browser_jni_registrar.cc

Issue 829803003: Adding Chrome-side WebVR interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed the rest of sievers@ input Created 5 years, 9 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: 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 c6844c19161ef2e86a54d1de56ccec76454b4b24..8b946e1b60786783eca45116832e2be56ff0be18 100644
--- a/content/browser/android/browser_jni_registrar.cc
+++ b/content/browser/android/browser_jni_registrar.cc
@@ -38,6 +38,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/cardboard/cardboard_vr_device.h"
#include "content/browser/web_contents/web_contents_android.h"
#include "mojo/android/system/core_impl.h"
@@ -48,6 +49,8 @@ base::android::RegistrationMethod kContentRegisteredMethods[] = {
{"BrowserAccessibilityManager",
content::RegisterBrowserAccessibilityManager},
{"BrowserStartupController", content::RegisterBrowserStartupController},
+ {"CardboardVRDevice",
+ content::CardboardVRDevice::RegisterCardboardVRDevice},
{"ChildProcessLauncher", content::RegisterChildProcessLauncher},
{"ContentReadbackHandler",
content::ContentReadbackHandler::RegisterContentReadbackHandler},

Powered by Google App Engine
This is Rietveld 408576698