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

Issue 2623033003: Always show counters in the material design Clear Browsing Data dialog. (Closed)

Created:
3 years, 11 months ago by msramek
Modified:
3 years, 11 months ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Always show counters in the material design Clear Browsing Data dialog. Previously, they were only shown when the corresponding datatype was checked. This led to uneven spacing between checkboxes and arguably strange visual behavior where text was appearing and disappearing. See the linked bug for screenshots. BUG=654812 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2623033003 Cr-Commit-Position: refs/heads/master@{#443364} Committed: https://chromium.googlesource.com/chromium/src/+/e36f41845d3f6232aaeddf68fcde9576c7446344

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed the comment, fixed tests. #

Patch Set 3 : Rebase over https://codereview.chromium.org/2617533003 #

Patch Set 4 : Counter simplifications, iOS #

Patch Set 5 : iOS fix #

Patch Set 6 : iOS fix #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -143 lines) Patch
M chrome/browser/browsing_data/autofill_counter_browsertest.cc View 1 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/browsing_data/cache_counter.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data/cache_counter.cc View 1 2 3 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/browsing_data/cache_counter_browsertest.cc View 1 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/browsing_data/history_counter_browsertest.cc View 1 1 chunk +0 lines, -22 lines 0 comments Download
M chrome/browser/browsing_data/media_licenses_counter_browsertest.cc View 1 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/browsing_data/passwords_counter_browsertest.cc View 1 1 chunk +0 lines, -16 lines 0 comments Download
M chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_toggle_button.html View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/data/webui/settings/privacy_page_test.js View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M components/browsing_data/core/counters/autofill_counter.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M components/browsing_data/core/counters/autofill_counter.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/browsing_data/core/counters/browsing_data_counter.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M ios/chrome/browser/browsing_data/cache_counter.h View 1 2 3 4 2 chunks +0 lines, -6 lines 0 comments Download
M ios/chrome/browser/browsing_data/cache_counter.cc View 1 2 3 4 5 3 chunks +1 line, -5 lines 0 comments Download
M ios/chrome/browser/browsing_data/cache_counter_unittest.cc View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download

Messages

Total messages: 46 (34 generated)
msramek
Hi Dave! Please have a look! We got a go from the UI review to ...
3 years, 11 months ago (2017-01-11 17:53:29 UTC) #5
Dan Beam
https://codereview.chromium.org/2623033003/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html File chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html (left): https://codereview.chromium.org/2623033003/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html#oldcode90 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:90: --settings-secondary-unchecked: { this is the only use of this ...
3 years, 11 months ago (2017-01-11 20:29:28 UTC) #9
dschuyler
lgtm
3 years, 11 months ago (2017-01-11 20:30:23 UTC) #10
msramek
Thanks Dave! Dan - I removed the mixin and also updated the failing PrivacyPageTest. PTAL! ...
3 years, 11 months ago (2017-01-12 12:37:23 UTC) #22
msramek
And since the assumption that the counter doesn't run for unchecked datatypes was baked into ...
3 years, 11 months ago (2017-01-12 12:38:57 UTC) #24
dullweber
On 2017/01/12 12:38:57, msramek wrote: > And since the assumption that the counter doesn't run ...
3 years, 11 months ago (2017-01-12 12:50:55 UTC) #27
msramek
Thanks! I fixed the iOS compilation now. +David can you PTAL at ios/c/b/browsing_data? It's equivalent ...
3 years, 11 months ago (2017-01-12 14:19:41 UTC) #31
droger
lgtm
3 years, 11 months ago (2017-01-12 15:43:15 UTC) #38
Dan Beam
lgtm
3 years, 11 months ago (2017-01-12 18:40:39 UTC) #39
msramek
Thanks! Landing this now.
3 years, 11 months ago (2017-01-12 21:20:34 UTC) #40
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/2623033003/120001
3 years, 11 months ago (2017-01-12 21:21:34 UTC) #43
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 21:28:17 UTC) #46
Message was sent while issue was closed.
Committed patchset #6 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/e36f41845d3f6232aaeddf68fcde...

Powered by Google App Engine
This is Rietveld 408576698