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

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

Issue 933063002: Use HyperlinkPreference where applicable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/protected_content_preferences.xml
diff --git a/chrome/android/java/res/xml/protected_content_preferences.xml b/chrome/android/java/res/xml/protected_content_preferences.xml
index 74bbcf930dd3cbd3d214e5aab398489ee80b99d1..a401ca487befc06784fc39ab4d20a7bd70dcbecd 100644
--- a/chrome/android/java/res/xml/protected_content_preferences.xml
+++ b/chrome/android/java/res/xml/protected_content_preferences.xml
@@ -3,7 +3,9 @@
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">
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto">
<org.chromium.chrome.browser.preferences.ChromeSwitchPreference
android:key="protected_content_switch"
@@ -13,9 +15,11 @@
<org.chromium.chrome.browser.preferences.TextMessagePreference
android:title="@string/protected_content_prefs_description" />
- <org.chromium.chrome.browser.preferences.TextMessagePreference
+ <org.chromium.chrome.browser.preferences.HyperlinkPreference
android:key="protected_content_learn_more"
- android:title="@string/learn_more" />
+ android:title="@string/learn_more"
+ chrome:url="@string/protected_content_learn_more_url"
+ chrome:imitateWebLink="true" />
<org.chromium.chrome.browser.preferences.ButtonPreference
android:key="reset_device_credentials_button"

Powered by Google App Engine
This is Rietveld 408576698