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

Issue 1845853003: Split the footer in ClearBrowsingDataPreferences into two paragraphs (Closed)

Created:
4 years, 8 months ago by msramek
Modified:
4 years, 8 months ago
Reviewers:
newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split the footer in ClearBrowsingDataPreferences into two paragraphs The footer in the CBD preferences currently contains three sentences. We add a fourth sentence mentioning that the user's Google account may contain other forms of browsing history. We then split the footer into two paragraphs, each represented by a new TextMessageWithLinkPreference class. One paragraph contains the two sentences related to Google Account and is decorated with the Google "G" icon. The other one contains general information and is decorated with an (i) icon. The "G" paragraph is only shown to signed-in users, and the sentence about other forms of browsing history is only shown after a callback from web history service shows that they exist (to be done in a followup CL). The (i) paragraph is shown permanently. We also remove the "Learn more" preference at the bottom of the layout, and instead embed it as a clickable link at the end of the (i) paragraph. Design doc: https://docs.google.com/document/d/1ZMDSAd44KmzKhqXPjobZOf9rZezs6VqiBnqpDD0auCU/ Mocks: https://docs.google.com/presentation/d/1rpR3xB3aYFzXD0U--piuMq3y4XAmoYdawA2HC1cuEjM/ BUG=595332 Committed: https://crrev.com/07479cd26360d225d4872147bb701b922656a5a8 Cr-Commit-Position: refs/heads/master@{#385154}

Patch Set 1 #

Patch Set 2 : XML layout #

Total comments: 35

Patch Set 3 : Addressed comments. #

Patch Set 4 : Build file. #

Total comments: 1

Patch Set 5 : Fixed icons, added annotation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -17 lines) Patch
A chrome/android/java/res/drawable-hdpi/googleg.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-hdpi/ic_info_grey.png View 1 2 3 4 Binary file 0 comments Download
A chrome/android/java/res/drawable-mdpi/googleg.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-mdpi/ic_info_grey.png View 1 2 3 4 Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/googleg.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-xhdpi/ic_info_grey.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/googleg.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxhdpi/ic_info_grey.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/drawable-xxxhdpi/googleg.png View Binary file 0 comments Download
A chrome/android/java/res/drawable-xxxhdpi/ic_info_grey.png View 1 2 Binary file 0 comments Download
A chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/android/java/res/xml/clear_browsing_data_preferences.xml View 1 chunk +8 lines, -6 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/preferences/TextMessageWithLinkAndIconPreference.java View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java View 1 2 3 4 4 chunks +58 lines, -7 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 1 chunk +10 lines, -4 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java View 1 2 4 chunks +70 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
msramek
Hi Newt, please have a look! I have one open TODO in this CL which ...
4 years, 8 months ago (2016-03-31 17:59:53 UTC) #2
msramek
I finished the layout of TextMessageWithLinkAndIconPreference. I tried setting the paddings and alignments programatically, but ...
4 years, 8 months ago (2016-04-01 16:18:28 UTC) #3
newt (away)
Be sure to run tools/resources/optimize-png-files.sh over the image files, if you haven't already. googleg.png is ...
4 years, 8 months ago (2016-04-02 01:24:03 UTC) #4
newt (away)
https://codereview.chromium.org/1845853003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java (right): https://codereview.chromium.org/1845853003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java#newcode128 chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java:128: private static final String URL_HELP_CENTER = "Learn more" used ...
4 years, 8 months ago (2016-04-02 01:26:15 UTC) #5
msramek
On 2016/04/02 01:24:03, newt wrote: > Be sure to run tools/resources/optimize-png-files.sh over the image files, ...
4 years, 8 months ago (2016-04-04 16:21:27 UTC) #6
msramek
https://codereview.chromium.org/1845853003/diff/20001/chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml File chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml (right): https://codereview.chromium.org/1845853003/diff/20001/chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml#newcode8 chrome/android/java/res/layout/text_message_with_link_and_icon_preference.xml:8: <LinearLayout On 2016/04/02 01:24:03, newt wrote: > Use a ...
4 years, 8 months ago (2016-04-04 16:23:12 UTC) #7
newt (away)
lgtm :) https://codereview.chromium.org/1845853003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/TextMessageWithLinkAndIconPreference.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/TextMessageWithLinkAndIconPreference.java (right): https://codereview.chromium.org/1845853003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/TextMessageWithLinkAndIconPreference.java#newcode54 chrome/android/java/src/org/chromium/chrome/browser/preferences/TextMessageWithLinkAndIconPreference.java:54: final SpannableString summaryWithLink = SpanApplier.applySpans(summaryString, On 2016/04/04 ...
4 years, 8 months ago (2016-04-04 21:09:10 UTC) #8
newt (away)
FYI, looks like you'll need to annotate showNoticeAboutOtherFormsOfBrowsingHistory() with @VisibleForTesting, at least until it's called ...
4 years, 8 months ago (2016-04-04 21:10:14 UTC) #9
newt (away)
Also, drawable-hdpi/ic_info_grey.png looks blurry. Look into that?
4 years, 8 months ago (2016-04-04 21:29:09 UTC) #10
msramek
On 2016/04/04 21:29:09, newt (no new reviews. mostly) wrote: > Also, drawable-hdpi/ic_info_grey.png looks blurry. Look ...
4 years, 8 months ago (2016-04-05 11:07:58 UTC) #11
msramek
https://codereview.chromium.org/1845853003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java (right): https://codereview.chromium.org/1845853003/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java#newcode133 chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java:133: private static final String HELP_CENTER_CONTEXT = "clear_browsing_data"; Removed this, ...
4 years, 8 months ago (2016-04-05 11:08:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1845853003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1845853003/80001
4 years, 8 months ago (2016-04-05 11:08:48 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-05 12:00:19 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 12:01:33 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/07479cd26360d225d4872147bb701b922656a5a8
Cr-Commit-Position: refs/heads/master@{#385154}

Powered by Google App Engine
This is Rietveld 408576698