diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-26 17:00:54 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-26 17:00:54 +0000 |
commit | 8e7415e446a2379aecead2903cbc96a34e02fe98 (patch) | |
tree | 95523928701276fdc2acfe4c0611daa4170bd3f1 /components/web_contents_delegate_android | |
parent | d29242852b7ed8e2009fd1641a53ef213c48065b (diff) | |
download | chromium_src-8e7415e446a2379aecead2903cbc96a34e02fe98.zip chromium_src-8e7415e446a2379aecead2903cbc96a34e02fe98.tar.gz chromium_src-8e7415e446a2379aecead2903cbc96a34e02fe98.tar.bz2 |
Android: cleanup jni_android to minimize external dependencies.
Other projects will be using the JNI bindings.
- Move GetMethodIDFromClassName down to content/browser/renderer_host/java,
the only place where it's used.
- Remove a few methods that are no longer in use.
- Trim down dependencies.
BUG=
Review URL: https://codereview.chromium.org/23835020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225471 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/web_contents_delegate_android')
-rw-r--r-- | components/web_contents_delegate_android/web_contents_delegate_android.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc index c908f6a..e5e7838 100644 --- a/components/web_contents_delegate_android/web_contents_delegate_android.cc +++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc @@ -27,7 +27,6 @@ using base::android::AttachCurrentThread; using base::android::ConvertUTF8ToJavaString; using base::android::ConvertUTF16ToJavaString; -using base::android::HasClass; using base::android::ScopedJavaLocalRef; using content::ColorChooser; using content::WebContents; @@ -327,10 +326,6 @@ void WebContentsDelegateAndroid::DidProgrammaticallyScroll( // Register native methods bool RegisterWebContentsDelegateAndroid(JNIEnv* env) { - if (!HasClass(env, kWebContentsDelegateAndroidClassPath)) { - DLOG(ERROR) << "Unable to find class WebContentsDelegateAndroid!"; - return false; - } return RegisterNativesImpl(env); } |