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

Unified Diff: ui/android/view_android.cc

Issue 2790893004: Delete Android content detectors. (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « ui/android/view_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/view_android.cc
diff --git a/ui/android/view_android.cc b/ui/android/view_android.cc
index 672ae01b8644db47f86de0da19e2b599bbb7e1cc..fddff015356737cfc882f6f2db8e7af9a8dba758 100644
--- a/ui/android/view_android.cc
+++ b/ui/android/view_android.cc
@@ -271,18 +271,6 @@ void ViewAndroid::OnBottomControlsChanged(float bottom_controls_offset,
env, delegate, bottom_controls_offset, bottom_content_offset);
}
-void ViewAndroid::StartContentIntent(const GURL& content_url,
- bool is_main_frame) {
- ScopedJavaLocalRef<jobject> delegate(GetViewAndroidDelegate());
- if (delegate.is_null())
- return;
- JNIEnv* env = base::android::AttachCurrentThread();
- ScopedJavaLocalRef<jstring> jcontent_url =
- ConvertUTF8ToJavaString(env, content_url.spec());
- Java_ViewAndroidDelegate_onStartContentIntent(env, delegate, jcontent_url,
- is_main_frame);
-}
-
bool ViewAndroid::OnTouchEvent(const MotionEventAndroid& event,
bool for_touch_handle) {
return HitTest(
« no previous file with comments | « ui/android/view_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698