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

Issue 2731303002: [NTP::Downloads] Replace 36dp file type resources with vector drawables. (Closed)

Created:
3 years, 9 months ago by vitaliii
Modified:
3 years, 9 months ago
Reviewers:
dgn, gone
CC:
chromium-reviews, asanka, noyau+watch_chromium.org, ntp-dev+reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP::Downloads] Replace 36dp file type resources with vector drawables. Replace 36dp file type resources added in https://codereview.chromium.org/2721043002/ with vector drawables. The new icons are used in both Downloads Home and NTP. There are other clients of the corresponding 24dp icons and ic_play_arrow_white_36dp, which I am going to address in the following CLs. 8889 bytes removed and 2441 bytes added. BUG=697861 Review-Url: https://codereview.chromium.org/2731303002 Cr-Commit-Position: refs/heads/master@{#455446} Committed: https://chromium.googlesource.com/chromium/src/+/267b85777ea8bb3859472dc88582e946131a552c

Patch Set 1 #

Total comments: 2

Patch Set 2 : clean rebase. #

Patch Set 3 : dfalcantara@ comment. #

Total comments: 9

Patch Set 4 : clean rebase. #

Patch Set 5 : dfalcantara@ comments + fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -47 lines) Patch
D chrome/android/java/res/drawable-hdpi/ic_drive_file_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/ic_drive_site_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/ic_drive_text_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/ic_image_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-hdpi/ic_music_note_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/ic_drive_file_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/ic_drive_site_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/ic_drive_text_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/ic_image_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-mdpi/ic_music_note_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/ic_drive_file_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/ic_drive_site_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/ic_drive_text_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/ic_image_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xhdpi/ic_music_note_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/ic_drive_file_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/ic_drive_site_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/ic_drive_text_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/ic_image_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxhdpi/ic_music_note_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/ic_drive_file_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/ic_drive_site_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/ic_drive_text_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/ic_image_white_36dp.png View Binary file 0 comments Download
D chrome/android/java/res/drawable-xxxhdpi/ic_music_note_white_36dp.png View Binary file 0 comments Download
A chrome/android/java/res/drawable/ic_drive_file_white.xml View 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/android/java/res/drawable/ic_drive_site_white.xml View 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/android/java/res/drawable/ic_drive_text_white.xml View 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/android/java/res/drawable/ic_image_white.xml View 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/android/java/res/drawable/ic_music_note_white.xml View 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/android/java/res/drawable/ic_play_arrow_white.xml View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/android/java/res/values/dimens.xml View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java View 4 chunks +7 lines, -28 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java View 1 2 3 4 5 chunks +12 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetArticleViewHolder.java View 1 2 3 4 3 chunks +6 lines, -18 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
vitaliii
Hi dgn@ & dfalcantara@, Could you have a look at my CL? dgn@ -> ntp/snippets ...
3 years, 9 months ago (2017-03-06 15:49:15 UTC) #4
gone
Can I get some comparison screenshots here?
3 years, 9 months ago (2017-03-06 18:09:47 UTC) #7
vitaliii
On 2017/03/06 18:09:47, dfalcantara (load balance plz) wrote: > Can I get some comparison screenshots ...
3 years, 9 months ago (2017-03-06 18:19:20 UTC) #8
gone
On 2017/03/06 18:19:20, vitaliii wrote: > On 2017/03/06 18:09:47, dfalcantara (load balance plz) wrote: > ...
3 years, 9 months ago (2017-03-06 18:23:32 UTC) #9
gone
https://codereview.chromium.org/2731303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java File chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java (right): https://codereview.chromium.org/2731303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java#newcode265 chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java:265: mIconView.setPadding(padding, padding, padding, padding); I'd prefer that you not ...
3 years, 9 months ago (2017-03-06 18:40:46 UTC) #10
vitaliii
Hi dfalcantara@, I've addressed your comment. For screenshots, please see the bug. https://codereview.chromium.org/2731303002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java File chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadItemView.java ...
3 years, 9 months ago (2017-03-07 09:38:47 UTC) #11
dgn
https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java File chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java (left): https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java#oldcode698 chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java:698: return iconSize == ICON_SIZE_24_DP ? R.drawable.ic_drive_site_white_24dp what about the ...
3 years, 9 months ago (2017-03-07 13:17:51 UTC) #16
vitaliii
Hi dgn@, I replied to your comment. https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java File chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java (left): https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java#oldcode698 chrome/android/java/src/org/chromium/chrome/browser/download/DownloadUtils.java:698: return iconSize ...
3 years, 9 months ago (2017-03-07 16:34:50 UTC) #17
dgn
snippets lgtm
3 years, 9 months ago (2017-03-07 17:01:07 UTC) #18
gone
lgtm % comments https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (right): https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/res/values/dimens.xml#newcode405 chrome/android/java/res/values/dimens.xml:405: <!-- file_type_icon_size = downloads_item_icon_size - 2 ...
3 years, 9 months ago (2017-03-07 17:08:28 UTC) #19
vitaliii
Hi dfalcantara@, I've addressed your comments, no need to look. https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/res/values/dimens.xml File chrome/android/java/res/values/dimens.xml (right): https://codereview.chromium.org/2731303002/diff/40001/chrome/android/java/res/values/dimens.xml#newcode405 ...
3 years, 9 months ago (2017-03-08 12:36:50 UTC) #24
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/2731303002/80001
3 years, 9 months ago (2017-03-08 14:01:26 UTC) #27
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 14:06:52 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/267b85777ea8bb3859472dc88582...

Powered by Google App Engine
This is Rietveld 408576698