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

Issue 23200006: Don't show the search-by-image menu item when the image is blocked (no image pixel data) (Closed)

Created:
7 years, 4 months ago by Johnny(Jianning) Ding
Modified:
7 years, 4 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, jingbinw
Visibility:
Public.

Description

Don't show the search-by-image menu item when the image does not have contents. BUG=272076 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219376

Patch Set 1 #

Patch Set 2 : use ContextMenuParams::has_image_contents to check image's availability #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M chrome/browser/renderer_host/chrome_render_view_host_observer.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/view_messages.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/common/context_menu_params.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M content/public/common/context_menu_params.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/context_menu_params_builder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Johnny(Jianning) Ding
7 years, 4 months ago (2013-08-14 21:25:44 UTC) #1
Johnny(Jianning) Ding
On 2013/08/14 21:25:44, Johnny(Jianning) Ding wrote: ping.
7 years, 4 months ago (2013-08-20 03:15:30 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/23200006/diff/6001/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (right): https://codereview.chromium.org/23200006/diff/6001/chrome/browser/tab_contents/render_view_context_menu.cc#newcode1800 chrome/browser/tab_contents/render_view_context_menu.cc:1800: NavigationEntry* nav_entry = controller->GetActiveEntry(); Is this change correct? ...
7 years, 4 months ago (2013-08-20 18:33:15 UTC) #3
Peter Kasting
On 2013/08/20 18:33:15, Peter Kasting wrote: > LGTM I actually shouldn't have written this probably ...
7 years, 4 months ago (2013-08-20 18:34:11 UTC) #4
Johnny(Jianning) Ding
On 2013/08/20 18:34:11, Peter Kasting wrote: > On 2013/08/20 18:33:15, Peter Kasting wrote: > > ...
7 years, 4 months ago (2013-08-20 18:42:18 UTC) #5
Johnny(Jianning) Ding
all done https://codereview.chromium.org/23200006/diff/6001/content/public/common/context_menu_params.h File content/public/common/context_menu_params.h (right): https://codereview.chromium.org/23200006/diff/6001/content/public/common/context_menu_params.h#newcode77 content/public/common/context_menu_params.h:77: // contents. On 2013/08/20 18:33:16, Peter Kasting ...
7 years, 4 months ago (2013-08-20 20:11:36 UTC) #6
Peter Kasting
LGTM
7 years, 4 months ago (2013-08-20 20:12:46 UTC) #7
Johnny(Jianning) Ding
On 2013/08/20 20:12:46, Peter Kasting wrote: > LGTM @jam, would you please take an owner ...
7 years, 4 months ago (2013-08-20 20:17:14 UTC) #8
Johnny(Jianning) Ding
Seems John is out of office. @ski, would you please take a look at chrome/*? ...
7 years, 4 months ago (2013-08-22 20:38:15 UTC) #9
sky
LGTM
7 years, 4 months ago (2013-08-22 20:43:35 UTC) #10
Avi (use Gerrit)
LGTM
7 years, 4 months ago (2013-08-22 20:44:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jnd@chromium.org/23200006/18001
7 years, 4 months ago (2013-08-22 21:10:27 UTC) #12
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=22012
7 years, 4 months ago (2013-08-22 21:32:48 UTC) #13
Johnny(Jianning) Ding
@Chris, please take a look at content/common/view_messages.h. Thanks!
7 years, 4 months ago (2013-08-23 00:27:50 UTC) #14
Johnny(Jianning) Ding
On 2013/08/23 00:27:50, Johnny(Jianning) Ding wrote: > @Chris, please take a look at content/common/view_messages.h. > ...
7 years, 4 months ago (2013-08-23 19:52:01 UTC) #15
Cris Neckar
IPC message changes LGTM
7 years, 4 months ago (2013-08-23 20:05:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jnd@chromium.org/23200006/18001
7 years, 4 months ago (2013-08-23 20:24:12 UTC) #17
commit-bot: I haz the power
7 years, 4 months ago (2013-08-23 23:00:39 UTC) #18
Message was sent while issue was closed.
Change committed as 219376

Powered by Google App Engine
This is Rietveld 408576698