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

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

Issue 847023002: Changes to android autofill preferences for wallet integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newt review Created 5 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/autofill_wallet_preferences.xml
diff --git a/chrome/android/java/res/xml/autofill_wallet_preferences.xml b/chrome/android/java/res/xml/autofill_wallet_preferences.xml
new file mode 100644
index 0000000000000000000000000000000000000000..55f1b364d9edc1df342237eea99b445dd21211f7
--- /dev/null
+++ b/chrome/android/java/res/xml/autofill_wallet_preferences.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2015 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:app="http://schemas.android.com/apk/res-auto" >
+
+ <org.chromium.chrome.browser.preferences.ChromeSwitchPreference
+ android:key="autofill_wallet_switch"
+ android:summaryOn="@string/text_on"
+ android:summaryOff="@string/text_off" />
+
+ <org.chromium.chrome.browser.preferences.TextMessagePreference
+ android:title="@string/autofill_wallet_description" />
+
+ <!-- TODO(estade): Surprisingly, HyperlinkPreference does not actually look like a link.
+ We should either fix HyperlinkPreference or copy the technique used by
+ data_reduction_learn_more. -->
+ <org.chromium.chrome.browser.preferences.HyperlinkPreference
+ android:title="@string/autofill_wallet_management_link_text"
+ app:url="@string/autofill_manage_wallet_cards_url" />
+
+ <org.chromium.chrome.browser.preferences.TextMessagePreference
+ android:title="@string/autofill_wallet_cache_explanation" />
+
+ <org.chromium.chrome.browser.preferences.ButtonPreference
+ android:key="autofill_clear_unmasked_cards"
+ android:title="@string/autofill_wallet_clear_unmasked_cards" />
+
+</PreferenceScreen>

Powered by Google App Engine
This is Rietveld 408576698