DescriptionAs per the ContextMenuParam structure (context_menu_params.h)
mLinkText may be an empty string if the contents of the link are an image.
So here as we are doing long press on image link the mLinkText is coming as empty string from nativeside.
And in buildContextMenu it sets header title as mLinkText so it sets "about:blank"
This patch checks if link are an image then sets title as source URL.
BUG=385000
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279673
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixed linkurl start check comments #Messages
Total messages: 12 (0 generated)
|