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

Unified Diff: chrome/android/java/res/xml/clear_browsing_data_preferences_tab.xml

Issue 2646313005: Implement additional parts of the new ui for CBD. (Closed)
Patch Set: remove linearlayout Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/xml/clear_browsing_data_preferences_tab.xml
diff --git a/chrome/android/java/res/xml/clear_browsing_data_preferences_tab.xml b/chrome/android/java/res/xml/clear_browsing_data_preferences_tab.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f3725a3243cbaff7717a42e6c06abcbf6edae9b0
--- /dev/null
+++ b/chrome/android/java/res/xml/clear_browsing_data_preferences_tab.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2017 The Chromium Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style license that can be
+ found in the LICENSE file. -->
+
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto">
+
+ <org.chromium.chrome.browser.preferences.SpinnerPreference
+ android:key="time_period_spinner"
+ android:persistent="false"
+ android:title="@string/clear_browsing_data_period_title"
+ chrome:singleLine="true" />
+
+ <Preference android:layout="@layout/divider_preference" />
+
+ <org.chromium.chrome.browser.preferences.ClearBrowsingDataCheckBoxPreference
+ android:key="clear_history_checkbox"
+ android:persistent="false"
+ android:title="@string/clear_history_title" />
+
+ <org.chromium.chrome.browser.preferences.ClearBrowsingDataCheckBoxPreference
+ android:key="clear_cookies_checkbox"
+ android:persistent="false"
+ android:title="@string/clear_cookies_and_site_data_title"
+ android:summaryOn="@string/clear_cookies_and_site_data_summary"
+ android:summaryOff="@string/clear_cookies_and_site_data_summary" />
+
+ <org.chromium.chrome.browser.preferences.ClearBrowsingDataCheckBoxPreference
+ android:key="clear_cache_checkbox"
+ android:persistent="false"
+ android:title="@string/clear_cache_title" />
+
+ <org.chromium.chrome.browser.preferences.ClearBrowsingDataCheckBoxPreference
+ android:key="clear_passwords_checkbox"
+ android:persistent="false"
+ android:title="@string/clear_passwords_title" />
+
+ <org.chromium.chrome.browser.preferences.ClearBrowsingDataCheckBoxPreference
+ android:key="clear_form_data_checkbox"
+ android:persistent="false"
+ android:title="@string/clear_form_data_title" />
+
+</PreferenceScreen>

Powered by Google App Engine
This is Rietveld 408576698