Chromium Code Reviews
DescriptionExpand 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)
|