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

Issue 2803233002: Change default value of has_image_contents (Closed)

Created:
3 years, 8 months ago by Srirama
Modified:
3 years, 8 months ago
CC:
chromium-reviews, blink-reviews, jam, dglazkov+blink, darin-cc_chromium.org, blink-reviews-api_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change default value of has_image_contents The default value of has_image_contents(in context_menu_params.cc, WebContextMenuData.h) is true by default. These values mean there is an image content for the long pressed node. Changed default value to false to make it less confusing for elements(Link, video) other than image, canvas. This value is being set properly incase of canvas and image elements in ContextMenuClientImpl::ShowContextMenu and it is being used only incase of media_type kMediaTypeImage in render_view_context_menu.cc. So this change will not cause any difference to the existing code flow. BUG=707789 Review-Url: https://codereview.chromium.org/2803233002 Cr-Commit-Position: refs/heads/master@{#464717} Committed: https://chromium.googlesource.com/chromium/src/+/d68c1beaad7929dddc6e6e1278dd03fedcd348eb

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M content/public/common/context_menu_params.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebContextMenuData.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (16 generated)
Srirama
PTAL. For the record, the original change is https://chromiumcodereview.appspot.com/23200006/ This change will align with the ...
3 years, 8 months ago (2017-04-07 11:55:59 UTC) #7
sky
I'm not an owner of any of this code. When in doubt, prefer an OWNER ...
3 years, 8 months ago (2017-04-07 14:43:58 UTC) #9
foolip
Can you describe how WebContextMenuData::hasImageContents ends up being used, i.e. why this change does not ...
3 years, 8 months ago (2017-04-07 15:12:57 UTC) #12
Avi (use Gerrit)
On 2017/04/07 15:12:57, foolip_UTC7 wrote: > Can you describe how WebContextMenuData::hasImageContents ends up being used, ...
3 years, 8 months ago (2017-04-07 15:31:53 UTC) #13
Srirama
On 2017/04/07 15:31:53, Avi (OOO 10-12 April) wrote: > On 2017/04/07 15:12:57, foolip_UTC7 wrote: > ...
3 years, 8 months ago (2017-04-08 17:47:28 UTC) #14
Srirama
On 2017/04/08 17:47:28, Srirama wrote: > On 2017/04/07 15:31:53, Avi (OOO 10-12 April) wrote: > ...
3 years, 8 months ago (2017-04-09 02:40:29 UTC) #15
foolip
On 2017/04/09 02:40:29, Srirama wrote: > On 2017/04/08 17:47:28, Srirama wrote: > > On 2017/04/07 ...
3 years, 8 months ago (2017-04-10 07:41:32 UTC) #16
Srirama
On 2017/04/10 07:41:32, foolip_UTC7 wrote: > On 2017/04/09 02:40:29, Srirama wrote: > > On 2017/04/08 ...
3 years, 8 months ago (2017-04-10 15:09:30 UTC) #17
Srirama
On 2017/04/10 15:09:30, Srirama wrote: > On 2017/04/10 07:41:32, foolip_UTC7 wrote: > > On 2017/04/09 ...
3 years, 8 months ago (2017-04-11 06:06:32 UTC) #18
foolip
On 2017/04/11 06:06:32, Srirama wrote: > On 2017/04/10 15:09:30, Srirama wrote: > > On 2017/04/10 ...
3 years, 8 months ago (2017-04-11 14:12:01 UTC) #19
Avi (use Gerrit)
LGTM This is OK.
3 years, 8 months ago (2017-04-13 14:58:36 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2803233002/20001
3 years, 8 months ago (2017-04-14 10:34:39 UTC) #26
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 12:05:18 UTC) #29
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d68c1beaad7929dddc6e6e1278dd...

Powered by Google App Engine
This is Rietveld 408576698