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

Issue 17440004: Fix the problem that wrong context menu shows up when right clicking a link on Mac (Closed)

Created:
7 years, 6 months ago by jianli
Modified:
7 years, 6 months ago
Reviewers:
brettw, Dmitry Titov
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org
Visibility:
Public.

Description

Fix the problem that wrong context menu shows up when right clicking a link on Mac This occurs because right-clicking a link on Mac also selects it. We need to check for link before selection. BUG=249546 TEST=Manual test by creating a panel and right clicking on a link Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207731

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix per feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jianli
Brett, could you please also approve it?
7 years, 6 months ago (2013-06-19 00:26:31 UTC) #1
Dmitry Titov
https://codereview.chromium.org/17440004/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): https://codereview.chromium.org/17440004/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc#newcode733 chrome/browser/tab_contents/render_view_context_menu.cc:733: else if (has_selection) why have an 'else' here? On ...
7 years, 6 months ago (2013-06-19 01:14:41 UTC) #2
jianli
https://codereview.chromium.org/17440004/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): https://codereview.chromium.org/17440004/diff/1/chrome/browser/tab_contents/render_view_context_menu.cc#newcode733 chrome/browser/tab_contents/render_view_context_menu.cc:733: else if (has_selection) On 2013/06/19 01:14:41, Dmitry Titov wrote: ...
7 years, 6 months ago (2013-06-19 17:08:18 UTC) #3
Dmitry Titov
lgtm
7 years, 6 months ago (2013-06-19 17:46:14 UTC) #4
jianli
Brettw, could you please approve the patch as an owner? Thanks.
7 years, 6 months ago (2013-06-19 20:52:38 UTC) #5
brettw
lgtm
7 years, 6 months ago (2013-06-20 19:31:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jianli@chromium.org/17440004/22001
7 years, 6 months ago (2013-06-20 19:33:16 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 06:12:24 UTC) #8
Message was sent while issue was closed.
Change committed as 207731

Powered by Google App Engine
This is Rietveld 408576698