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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> 6 <PreferenceScreen
7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto">
7 9
8 <org.chromium.chrome.browser.preferences.ChromeSwitchPreference 10 <org.chromium.chrome.browser.preferences.ChromeSwitchPreference
9 android:key="protected_content_switch" 11 android:key="protected_content_switch"
10 android:summaryOn="@string/text_on" 12 android:summaryOn="@string/text_on"
11 android:summaryOff="@string/text_off" /> 13 android:summaryOff="@string/text_off" />
12 14
13 <org.chromium.chrome.browser.preferences.TextMessagePreference 15 <org.chromium.chrome.browser.preferences.TextMessagePreference
14 android:title="@string/protected_content_prefs_description" /> 16 android:title="@string/protected_content_prefs_description" />
15 17
16 <org.chromium.chrome.browser.preferences.TextMessagePreference 18 <org.chromium.chrome.browser.preferences.HyperlinkPreference
17 android:key="protected_content_learn_more" 19 android:key="protected_content_learn_more"
18 android:title="@string/learn_more" /> 20 android:title="@string/learn_more"
21 chrome:url="@string/protected_content_learn_more_url"
22 chrome:imitateWebLink="true" />
19 23
20 <org.chromium.chrome.browser.preferences.ButtonPreference 24 <org.chromium.chrome.browser.preferences.ButtonPreference
21 android:key="reset_device_credentials_button" 25 android:key="reset_device_credentials_button"
22 android:title="@string/reset_device_credentials" /> 26 android:title="@string/reset_device_credentials" />
23 27
24 </PreferenceScreen> 28 </PreferenceScreen>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698