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

Issue 2739723004: [Android] 'Open in new Chrome (incognito) tab under context menu does not work for images and videos (Closed)

Created:
3 years, 9 months ago by ltian
Modified:
3 years, 9 months ago
Reviewers:
gone
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/3029
Project:
chromium
Visibility:
Public.

Description

[Android] 'Open in new Chrome (incognito) tab under context menu does not work for images and videos For links of images and videos, the options 'Open in new Chrome tab' and 'Open in Chrome incognito tab' under context menu do not work, because the linkUrl is empty. To fix this, check whether the link is video or image, if so, pass the srcUrl instead of linkUrl. Also for downloaded images and videos, the context menu should be disabled because current options ('Share' and 'Download image/video') could be achieved through overflow menu. To fix this, check if the srcUrl starts with 'file://'. BUG=696417 NOTRY=true NOPRESUBMIT=true Original-Review-Url: https://codereview.chromium.org/2725473002 Cr-Original-Commit-Position: refs/heads/master@{#455181} (cherry picked from commit 2fc04cd1fea6d3c1fc5d8e1bd5fa2528b2a462d8) Review-Url: https://codereview.chromium.org/2739723004 Cr-Commit-Position: refs/branch-heads/3029@{#72} Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471} Committed: https://chromium.googlesource.com/chromium/src/+/498c3d6a3baf0c256a0727bbd6ff910a5fb124f6

Patch Set 1 #

Patch Set 2 : Clarify the original CL in the description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java View 3 chunks +17 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java View 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
ltian
dfalcantara@chromium.org: could you lgtm this cl for merging to M58? Thanks!
3 years, 9 months ago (2017-03-08 21:45:08 UTC) #2
gone
If you can, you should reference the master branch CL in the description for this ...
3 years, 9 months ago (2017-03-08 21:56:47 UTC) #3
gone
(but lgtm)
3 years, 9 months ago (2017-03-08 21:56:58 UTC) #4
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/2739723004/20001
3 years, 9 months ago (2017-03-08 22:49:26 UTC) #8
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 22:56:44 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/498c3d6a3baf0c256a0727bbd6ff...

Powered by Google App Engine
This is Rietveld 408576698