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

Issue 398893006: Context menu should not shows data: in heading (Closed)

Created:
6 years, 5 months ago by Jitu( very slow this week)
Modified:
6 years, 4 months ago
Reviewers:
Bernhard Bauer, Yaron
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Context menu should not shows data: in heading In some senario image source url has full image data starts with "data:" so context menu in that case returns source url starts with "data:" and full contents.In those senario we should show only link url instead of source url. BUG=395511 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285880

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed Header for ContextMenu #

Patch Set 3 : Header should be linkurl or no header #

Total comments: 2

Patch Set 4 : Fix review comments #

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

Messages

Total messages: 21 (0 generated)
Jitu( very slow this week)
PTAL
6 years, 5 months ago (2014-07-21 06:03:29 UTC) #1
Bernhard Bauer
https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode42 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:42: if (!params.getSrcUrl().startsWith("data:")) { Hm, we probably shouldn't give the ...
6 years, 5 months ago (2014-07-21 10:19:28 UTC) #2
Jitu( very slow this week)
@Bauer, PTAL... https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode42 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:42: if (!params.getSrcUrl().startsWith("data:")) { Yes you are right... ...
6 years, 5 months ago (2014-07-21 11:11:35 UTC) #3
Bernhard Bauer
https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode42 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:42: if (!params.getSrcUrl().startsWith("data:")) { On 2014/07/21 11:11:35, Jitu wrote: > ...
6 years, 5 months ago (2014-07-21 13:53:39 UTC) #4
Jitu( very slow this week)
Added comments please check https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode42 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:42: if (!params.getSrcUrl().startsWith("data:")) { Yes you ...
6 years, 5 months ago (2014-07-23 08:21:47 UTC) #5
Bernhard Bauer
On 2014/07/23 08:21:47, Jitu wrote: > Added comments please check > > https://codereview.chromium.org/398893006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java > File ...
6 years, 5 months ago (2014-07-23 13:52:04 UTC) #6
Jitu( very slow this week)
On 2014/07/23 13:52:04, Bernhard Bauer wrote: > On 2014/07/23 08:21:47, Jitu wrote: > > Added ...
6 years, 5 months ago (2014-07-23 14:25:10 UTC) #7
Jitu( very slow this week)
@Bauer, Please let me know which one we can show. Thanks
6 years, 5 months ago (2014-07-24 05:14:24 UTC) #8
Bernhard Bauer
On 2014/07/23 14:25:10, Jitu wrote: > On 2014/07/23 13:52:04, Bernhard Bauer wrote: > > On ...
6 years, 5 months ago (2014-07-24 05:31:37 UTC) #9
Jitu( very slow this week)
If we will show Link URL then we can push this patch. Else for No ...
6 years, 5 months ago (2014-07-24 05:35:12 UTC) #10
Jitu( very slow this week)
@Bauer, Can you plz comment on this.
6 years, 5 months ago (2014-07-25 03:04:11 UTC) #11
Bernhard Bauer
On 2014/07/24 05:35:12, Jitu wrote: > If we will show Link URL then we can ...
6 years, 5 months ago (2014-07-25 04:35:01 UTC) #12
Jitu( very slow this week)
Removed the header. PTAL...
6 years, 5 months ago (2014-07-25 08:22:19 UTC) #13
Bernhard Bauer
On 2014/07/25 08:22:19, Jitu wrote: > Removed the header. > > PTAL... And now we ...
6 years, 5 months ago (2014-07-25 18:37:02 UTC) #14
Jitu( very slow this week)
Changed as per discussion. If the LinkUrl is blank ( about:blank) then should not show ...
6 years, 4 months ago (2014-07-28 06:14:16 UTC) #15
Bernhard Bauer
Thanks! https://codereview.chromium.org/398893006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/398893006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode42 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:42: if (!TextUtils.isEmpty(params.getLinkUrl()) && !params.getLinkUrl().startsWith(BLANK_URL)) params.getLinkUrl().equals(BLANK_URL)?
6 years, 4 months ago (2014-07-28 07:51:18 UTC) #16
Jitu( very slow this week)
Changed as per suggested. PTAL... Thanks https://codereview.chromium.org/398893006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java File chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java (right): https://codereview.chromium.org/398893006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java#newcode42 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java:42: if (!TextUtils.isEmpty(params.getLinkUrl()) && ...
6 years, 4 months ago (2014-07-28 08:01:49 UTC) #17
Bernhard Bauer
LGTM!
6 years, 4 months ago (2014-07-28 08:08:32 UTC) #18
Jitu( very slow this week)
The CQ bit was checked by jitendra.ks@samsung.com
6 years, 4 months ago (2014-07-28 08:09:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jitendra.ks@samsung.com/398893006/60001
6 years, 4 months ago (2014-07-28 08:09:49 UTC) #20
commit-bot: I haz the power
6 years, 4 months ago (2014-07-28 09:22:07 UTC) #21
Message was sent while issue was closed.
Change committed as 285880

Powered by Google App Engine
This is Rietveld 408576698