Commit 1a6a602c authored by Yasmin's avatar Yasmin Committed by Commit Bot

Click to Call and Shared Clipboard coexist for selected phone number.

Bug: 1005813
Change-Id: I4661aefa91ecc2d19a8057d1e0233fcebee2bc73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833824Reviewed-by: default avatarMichael van Ouwerkerk <mvanouwerkerk@chromium.org>
Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: Yasmin Molazadeh <yasmo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701659}
parent 30edc4ee
......@@ -1586,10 +1586,6 @@ void RenderViewContextMenu::AppendSharedClipboardItems() {
if (!ShouldOfferSharedClipboard(browser_context_, params_.selection_text))
return;
// Do not show shared clipboard items for item that show click to call.
if (ShouldOfferClickToCallForURL(browser_context_, params_.link_url))
return;
if (!shared_clipboard_context_menu_observer_) {
shared_clipboard_context_menu_observer_ =
std::make_unique<SharedClipboardContextMenuObserver>(this);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment