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

Issue 2646313005: Implement additional parts of the new ui for CBD. (Closed)

Created:
3 years, 11 months ago by dullweber
Modified:
3 years, 10 months ago
Reviewers:
msramek, Theresa, Ted C
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement additional parts of the new ui for CBD. Change UI to use single-line time selector. Move clear button to footer. Fix RTL behavior of ViewPager. All changes are behind the "tabs-in-cbd" flag https://screenshot.googleplex.com/BwcNiqwedVf.png BUG=681523 Review-Url: https://codereview.chromium.org/2646313005 Cr-Commit-Position: refs/heads/master@{#447733} Committed: https://chromium.googlesource.com/chromium/src/+/9a5f9879b084901c23318218fdc99dac9cc37bad

Patch Set 1 #

Total comments: 24

Patch Set 2 : fix comments #

Patch Set 3 : fix review issues #

Total comments: 20

Patch Set 4 : fix comments #

Patch Set 5 : rebase #

Total comments: 2

Patch Set 6 : remove linearlayout #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -31 lines) Patch
A chrome/android/java/res/layout/clear_browsing_data_tab_content.xml View 1 2 3 4 5 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/clear_browsing_data_tabs.xml View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/divider_preference.xml View 1 chunk +1 line, -4 lines 0 comments Download
M chrome/android/java/res/layout/preference_spinner.xml View 1 chunk +0 lines, -1 line 0 comments Download
A chrome/android/java/res/layout/preference_spinner_single_line.xml View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M chrome/android/java/res/values-v17/styles.xml View 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/android/java/res/values/attrs.xml View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/android/java/res/xml/clear_browsing_data_preferences_tab.xml View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PrefServiceBridge.java View 1 2 chunks +20 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/SpinnerPreference.java View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferences.java View 1 2 3 7 chunks +47 lines, -14 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesAdvanced.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesBasic.java View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTab.java View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java View 1 2 3 4 5 7 chunks +45 lines, -2 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/preferences/pref_service_bridge.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M components/browsing_data/core/pref_names.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/browsing_data/core/pref_names.cc View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (20 generated)
dullweber
Martin, please have a look at these changes
3 years, 11 months ago (2017-01-24 15:41:13 UTC) #4
msramek
Hi! I took a first pass. https://codereview.chromium.org/2646313005/diff/1/chrome/android/java/res/layout/clear_browsing_data_tabs.xml File chrome/android/java/res/layout/clear_browsing_data_tabs.xml (right): https://codereview.chromium.org/2646313005/diff/1/chrome/android/java/res/layout/clear_browsing_data_tabs.xml#newcode19 chrome/android/java/res/layout/clear_browsing_data_tabs.xml:19: android:layoutDirection="ltr" Maybe comment ...
3 years, 11 months ago (2017-01-25 15:24:24 UTC) #7
dullweber
Thanks, I fixed most issues. We should discuss what would be the best way to ...
3 years, 11 months ago (2017-01-25 17:22:06 UTC) #8
msramek
Thanks for the fixes. As discussed, can you please look into restructuring of the onCreate() ...
3 years, 11 months ago (2017-01-26 11:04:07 UTC) #9
dullweber
twellington@chromium.org: Please review these changes
3 years, 11 months ago (2017-01-26 13:29:26 UTC) #12
Theresa
https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml File chrome/android/java/res/layout/clear_browsing_data_tab_content.xml (right): https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml#newcode14 chrome/android/java/res/layout/clear_browsing_data_tab_content.xml:14: <FrameLayout If you move android:layout_weight="1" ad android:layout_height="0dp" to the ...
3 years, 11 months ago (2017-01-27 03:30:11 UTC) #13
Theresa
https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTab.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTab.java (right): https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTab.java#newcode22 chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTab.java:22: // Replace default preference view with a view with ...
3 years, 11 months ago (2017-01-27 03:31:45 UTC) #14
dullweber
thanks, I fixed the issues you mentioned https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml File chrome/android/java/res/layout/clear_browsing_data_tab_content.xml (right): https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/res/layout/clear_browsing_data_tab_content.xml#newcode14 chrome/android/java/res/layout/clear_browsing_data_tab_content.xml:14: <FrameLayout On ...
3 years, 10 months ago (2017-01-30 11:36:44 UTC) #21
Theresa
This looks good overall, just a couple of small comments. https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java (right): https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java#newcode130 ...
3 years, 10 months ago (2017-01-30 16:21:06 UTC) #24
dullweber
Thanks, I removed the LinearLayout https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java (right): https://codereview.chromium.org/2646313005/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java#newcode130 chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java:130: PrefServiceBridge.getInstance().setLastSelectedClearBrowsingDataTab(tabIndex); On 2017/01/30 16:21:05, ...
3 years, 10 months ago (2017-02-01 11:47:57 UTC) #25
Theresa
lgtm
3 years, 10 months ago (2017-02-01 16:03:08 UTC) #26
dullweber
tedchoc@chromium.org: Please review changes in chrome/browser/android/preferences/pref_service_bridge.cc
3 years, 10 months ago (2017-02-01 18:55:37 UTC) #28
Ted C
On 2017/02/01 18:55:37, dullweber wrote: > mailto:tedchoc@chromium.org: Please review changes in > chrome/browser/android/preferences/pref_service_bridge.cc pref_service_bridge.cc - ...
3 years, 10 months ago (2017-02-01 21:16:33 UTC) #29
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/2646313005/100001
3 years, 10 months ago (2017-02-02 08:50:30 UTC) #32
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 09:58:45 UTC) #35
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/9a5f9879b084901c23318218fdc9...

Powered by Google App Engine
This is Rietveld 408576698