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

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

Issue 10831060: Refactor the Android port to allow access to the chrome layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixed. Created 8 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
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 4cc6ab2343da2f4b7278803f52fb4a9164e5751d..55edcd80b20904d5272a1042dd681a1a010ccd58 100644
--- a/chrome/browser/android/chrome_jni_registrar.cc
+++ b/chrome/browser/android/chrome_jni_registrar.cc
@@ -6,18 +6,22 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
+#include "chrome/browser/android/content_view_util.h"
#include "chrome/browser/android/intent_helper.h"
#include "chrome/browser/android/process_utils.h"
+#include "chrome/browser/component/web_contents_delegate_android/component_jni_registrar.h"
namespace chrome {
namespace android {
static base::android::RegistrationMethod kChromeRegisteredMethods[] = {
+ { "ContentViewUtil", RegisterContentViewUtil },
{ "IntentHelper", RegisterIntentHelper },
{ "ProcessUtils", RegisterProcessUtils },
};
bool RegisterJni(JNIEnv* env) {
+ web_contents_delegate_android::RegisterJni(env);
return RegisterNativeMethods(env, kChromeRegisteredMethods,
arraysize(kChromeRegisteredMethods));
}

Powered by Google App Engine
This is Rietveld 408576698