| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index e486341fe1a62e2177a42db6e76aba53e02c58b1..63b0ec22d43c7d74cc67f23ba4faf5a42cd01414 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -1542,23 +1542,6 @@ void ContentViewCoreImpl::OnDragEvent(
|
| }
|
| }
|
|
|
| -void ContentViewCoreImpl::RequestTextSurroundingSelection(
|
| - int max_length,
|
| - const base::Callback<
|
| - void(const base::string16& content, int start_offset, int end_offset)>&
|
| - callback) {
|
| - DCHECK(!callback.is_null());
|
| - RenderFrameHost* focused_frame = web_contents_->GetFocusedFrame();
|
| - if (!focused_frame)
|
| - return;
|
| - if (GetRenderWidgetHostViewAndroid()) {
|
| - GetRenderWidgetHostViewAndroid()->SetTextSurroundingSelectionCallback(
|
| - callback);
|
| - focused_frame->Send(new FrameMsg_TextSurroundingSelectionRequest(
|
| - focused_frame->GetRoutingID(), max_length));
|
| - }
|
| -}
|
| -
|
| void ContentViewCoreImpl::OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip) {
|
| JNIEnv* env = AttachCurrentThread();
|
| ScopedJavaLocalRef<jobject> obj = java_ref_.get(env);
|
|
|