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

Issue 2874563002: Download home : Added info menu icon (Closed)

Created:
3 years, 7 months ago by shaktisahu
Modified:
3 years, 7 months ago
CC:
chromium-reviews, David Trainor- moved to gerrit, srahim+watch_chromium.org, dcheng, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Download home : Added info menu icon Added an info menu icon to the download home toolbar which will toggle the visibility of disk space usage info header. This info is disabled by default at the start of download home. Also added back the icons for the download filter types. Also fixed a NullPointerException in the filter adapter. BUG=720141, 717495 Review-Url: https://codereview.chromium.org/2874563002 Cr-Commit-Position: refs/heads/master@{#471840} Committed: https://chromium.googlesource.com/chromium/src/+/62a0b7c64ca4191c494bf2fde98e8a9a72ff57fa

Patch Set 1 #

Total comments: 5

Patch Set 2 : comments #

Patch Set 3 : Fixed an NPE #

Patch Set 4 : Added toggle info to feature list #

Total comments: 1

Patch Set 5 : nits #

Total comments: 4

Patch Set 6 : nits #

Patch Set 7 : Fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -2 lines) Patch
M chrome/android/java/res/layout/download_manager_spinner_drop_down.xml View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/res/menu/download_manager_menu.xml View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryAdapter.java View 1 2 3 4 5 6 chunks +33 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerToolbar.java View 1 2 1 chunk +9 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java View 1 2 3 5 chunks +16 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/ui/FilterAdapter.java View 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/download/DownloadActivityTest.java View 1 2 3 4 5 6 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/download/ui/DownloadHistoryAdapterTest.java View 1 2 3 4 5 6 5 chunks +51 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (36 generated)
shaktisahu
PTAL
3 years, 7 months ago (2017-05-09 22:55:01 UTC) #2
Theresa
Looks good overall, thank you! https://codereview.chromium.org/2874563002/diff/1/chrome/android/java/res/menu/download_manager_menu.xml File chrome/android/java/res/menu/download_manager_menu.xml (right): https://codereview.chromium.org/2874563002/diff/1/chrome/android/java/res/menu/download_manager_menu.xml#newcode13 chrome/android/java/res/menu/download_manager_menu.xml:13: android:title="@string/info" The title is ...
3 years, 7 months ago (2017-05-09 23:32:23 UTC) #3
Theresa
I just remembered that the (i) toggle should be sticky. Once the user hides it, ...
3 years, 7 months ago (2017-05-10 00:05:44 UTC) #4
shaktisahu
Thanks for the feedback. I have added a shared pref to save the user selection ...
3 years, 7 months ago (2017-05-11 19:55:47 UTC) #6
Theresa
lgtm. Thank you! https://codereview.chromium.org/2874563002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2874563002/diff/60001/tools/metrics/histograms/histograms.xml#newcode656 tools/metrics/histograms/histograms.xml:656: + the storage info. nit: Let's ...
3 years, 7 months ago (2017-05-11 22:14:46 UTC) #7
shaktisahu
nyquist@ - PTAL at android_chrome_strings.grd file isherman@ - PTAL at histograms.xml
3 years, 7 months ago (2017-05-12 00:04:23 UTC) #14
Ilya Sherman
https://codereview.chromium.org/2874563002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2874563002/diff/80001/tools/metrics/histograms/histograms.xml#newcode652 tools/metrics/histograms/histograms.xml:652: +<histogram name="Android.DownloadManager.StorageInfo" enum="BooleanEnabled"> nit: I'd name this histogram "Android.DownloadManager.ShowStorageInfo" ...
3 years, 7 months ago (2017-05-12 00:08:27 UTC) #15
shaktisahu
https://codereview.chromium.org/2874563002/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2874563002/diff/80001/tools/metrics/histograms/histograms.xml#newcode652 tools/metrics/histograms/histograms.xml:652: +<histogram name="Android.DownloadManager.StorageInfo" enum="BooleanEnabled"> On 2017/05/12 00:08:27, Ilya Sherman wrote: ...
3 years, 7 months ago (2017-05-12 00:34:08 UTC) #16
Ilya Sherman
Metrics LGTM, thanks.
3 years, 7 months ago (2017-05-12 06:27:05 UTC) #17
nyquist
chrome/android/java/strings/android_chrome_strings.grd lgtm
3 years, 7 months ago (2017-05-12 06:45:31 UTC) #18
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/2874563002/100001
3 years, 7 months ago (2017-05-12 06:48:13 UTC) #21
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/2874563002/160001
3 years, 7 months ago (2017-05-15 18:21:40 UTC) #46
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 18:35:54 UTC) #49
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/62a0b7c64ca4191c494bf2fde98e...

Powered by Google App Engine
This is Rietveld 408576698