| Index: android_webview/native/aw_web_contents_view_delegate.cc
|
| diff --git a/android_webview/native/aw_web_contents_view_delegate.cc b/android_webview/native/aw_web_contents_view_delegate.cc
|
| index bc1605996f703d5315dec643ed9be84b726aa0a3..52bbedb1a60be23613a87cadfdfa939cfe9c55f2 100644
|
| --- a/android_webview/native/aw_web_contents_view_delegate.cc
|
| +++ b/android_webview/native/aw_web_contents_view_delegate.cc
|
| @@ -35,20 +35,6 @@ content::WebDragDestDelegate* AwWebContentsViewDelegate::GetDragDestDelegate() {
|
| void AwWebContentsViewDelegate::ShowContextMenu(
|
| content::RenderFrameHost* render_frame_host,
|
| const content::ContextMenuParams& params) {
|
| - // TODO(boliu): Large blocks of this function are identical with
|
| - // ChromeWebContentsViewDelegateAndroid::ShowContextMenu. De-dup this if
|
| - // possible.
|
| -
|
| - // Display paste pop-up only when selection is empty and editable.
|
| - if (params.is_editable && params.selection_text.empty()) {
|
| - content::ContentViewCore* content_view_core =
|
| - content::ContentViewCore::FromWebContents(web_contents_);
|
| - if (content_view_core &&
|
| - content_view_core->ShowPastePopup(params.selection_start.x(),
|
| - params.selection_start.y())) {
|
| - return;
|
| - }
|
| - }
|
| web_contents_->NotifyContextMenuClosed(content::CustomContextMenuContext());
|
| }
|
|
|
|
|