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

Issue 1912483003: Expand the footer in the material design Clear Browsing Data dialog. (Closed)

Created:
4 years, 8 months ago by msramek
Modified:
4 years, 7 months ago
Reviewers:
dschuyler
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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand the footer in the material design Clear Browsing Data dialog. Design doc: https://docs.google.com/document/d/1ZMDSAd44KmzKhqXPjobZOf9rZezs6VqiBnqpDD0auCU/ The footer in Clear Browsing Data dialog now contains three sentences. 1. Static sentence informing the user that all browsing data can be cleared. 2. A sentence about synced data, only shown when Sync is active. 3. A sentence about other forms of browsing history, only shown when browsing_data_ui::ShouldShowNoticeAboutOtherFormsOfBrowsingHistory is true. ClearBrowsingDataHandler listens to ProfileSyncService and adjust sentence #2 immediately. The condition for #3 is only checked at initialization. As per mocks, we split the footer into two paragraphs - one containing sentences #1 and #2 annotated with an (i) icon, and one for sentence #3 annotated with a "G" icon. BUG=595332 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/3a81a13676c458976f3125cc68d937ea020f7327 Cr-Commit-Position: refs/heads/master@{#390928}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix the test. #

Total comments: 15

Patch Set 3 : Rebase. #

Patch Set 4 : Addressed comments. #

Total comments: 13

Patch Set 5 : Addressed comments. #

Total comments: 2

Patch Set 6 : Rename message. #

Patch Set 7 : Rebase. #

Messages

Total messages: 20 (6 generated)
msramek
Hi Dave, can you please have a look? This is for feature parity with https://codereview.chromium.org/1813023002/ ...
4 years, 8 months ago (2016-04-21 14:02:33 UTC) #2
msramek
Friendly ping!
4 years, 8 months ago (2016-04-26 07:15:02 UTC) #3
dschuyler
https://codereview.chromium.org/1912483003/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css File chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css (right): https://codereview.chromium.org/1912483003/diff/1/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css#newcode4 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css:4: Please move the contents of this file to a ...
4 years, 8 months ago (2016-04-26 16:58:39 UTC) #4
dschuyler
https://codereview.chromium.org/1912483003/diff/20001/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css File chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css (right): https://codereview.chromium.org/1912483003/diff/20001/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css#newcode42 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.css:42: approximately at the ascender line of the font. */ ...
4 years, 8 months ago (2016-04-26 17:29:49 UTC) #5
dschuyler
https://codereview.chromium.org/1912483003/diff/20001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc File chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc (right): https://codereview.chromium.org/1912483003/diff/20001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc#newcode40 chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc:40: sync_service_->AddObserver(this); Rather than adding an observer in the constructor, ...
4 years, 8 months ago (2016-04-26 18:47:03 UTC) #6
msramek
Please have another look! Since the change with OnJavascriptAllowed was landed after I wrote this ...
4 years, 7 months ago (2016-04-27 18:10:29 UTC) #7
dschuyler
Sorry for not catching these the first time around, but I found a few more ...
4 years, 7 months ago (2016-04-27 23:10:41 UTC) #8
msramek
https://codereview.chromium.org/1912483003/diff/60001/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 (right): https://codereview.chromium.org/1912483003/diff/60001/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html#newcode32 chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html:32: width: 18px; On 2016/04/27 23:10:40, dschuyler wrote: > Optional: ...
4 years, 7 months ago (2016-04-28 14:34:18 UTC) #10
dschuyler
LGTM with a name change request. https://codereview.chromium.org/1912483003/diff/100001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc File chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc (right): https://codereview.chromium.org/1912483003/diff/100001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc#newcode52 chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc:52: "initialize", Sorry, suggesting ...
4 years, 7 months ago (2016-04-29 21:07:17 UTC) #11
msramek
https://codereview.chromium.org/1912483003/diff/100001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc File chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc (right): https://codereview.chromium.org/1912483003/diff/100001/chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc#newcode52 chrome/browser/ui/webui/settings/settings_clear_browsing_data_handler.cc:52: "initialize", On 2016/04/29 21:07:17, dschuyler wrote: > Sorry, suggesting ...
4 years, 7 months ago (2016-05-02 13:08:09 UTC) #13
msramek
Thanks for the thorough review! :-)
4 years, 7 months ago (2016-05-02 13:08:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1912483003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1912483003/140001
4 years, 7 months ago (2016-05-02 13:09:24 UTC) #17
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 7 months ago (2016-05-02 13:22:46 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 13:23:40 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/3a81a13676c458976f3125cc68d937ea020f7327
Cr-Commit-Position: refs/heads/master@{#390928}

Powered by Google App Engine
This is Rietveld 408576698