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

Side by Side Diff: chrome/android/java/res/xml/website_preferences.xml

Issue 2039953002: Add a preference for disabling vibration in notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Address Dan's comments. Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. 2 <!-- Copyright 2015 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 6 <PreferenceScreen
7 xmlns:android="http://schemas.android.com/apk/res/android" 7 xmlns:android="http://schemas.android.com/apk/res/android"
8 xmlns:chrome="http://schemas.android.com/apk/res-auto" 8 xmlns:chrome="http://schemas.android.com/apk/res-auto"
9 android:title="@string/all_sites"> 9 android:title="@string/all_sites">
10 <!-- A global toggle, only shown for specific categories that allow turning default values 10 <!-- A global toggle, only shown for specific categories that allow turning default values
11 for that category on/off.--> 11 for that category on/off.-->
12 <org.chromium.chrome.browser.preferences.ChromeSwitchPreference 12 <org.chromium.chrome.browser.preferences.ChromeSwitchPreference
13 android:key="read_write_toggle" 13 android:key="read_write_toggle"
14 android:defaultValue="true" 14 android:defaultValue="true"
15 chrome:drawDivider="true" /> 15 chrome:drawDivider="true" />
16 <!-- A toggle for allowing third-party cookies, only shown for the Cookies c ategory. --> 16 <!-- A toggle for allowing third-party cookies, only shown for the Cookies c ategory. -->
17 <org.chromium.chrome.browser.preferences.ChromeBaseCheckBoxPreference 17 <org.chromium.chrome.browser.preferences.ChromeBaseCheckBoxPreference
18 android:key="third_party_cookies" 18 android:key="third_party_cookies"
19 android:title="@string/allow_third_party_cookies_title" 19 android:title="@string/allow_third_party_cookies_title"
20 android:summary="@string/allow_third_party_cookies_summary" 20 android:summary="@string/allow_third_party_cookies_summary"
21 android:defaultValue="true" /> 21 android:defaultValue="true" />
22 <!-- A toggle for enabling vibration in notifications. -->
23 <org.chromium.chrome.browser.preferences.ChromeBaseCheckBoxPreference
24 android:key="notifications_vibrate"
25 android:title="@string/enable_notifications_vibrate_title"
26 android:summary="@string/enable_notifications_vibrate_summary"
27 android:defaultValue="true" />
22 <!-- An hyperlink to explain more about Protected Media content settings. -- > 28 <!-- An hyperlink to explain more about Protected Media content settings. -- >
23 <org.chromium.chrome.browser.preferences.LearnMorePreference 29 <org.chromium.chrome.browser.preferences.LearnMorePreference
24 android:key="protected_content_learn_more" 30 android:key="protected_content_learn_more"
25 android:background="?android:attr/listDivider" 31 android:background="?android:attr/listDivider"
26 chrome:helpContext="@string/help_context_protected_content"/> 32 chrome:helpContext="@string/help_context_protected_content"/>
27 <!-- Collapsible headers for sorting preferences. --> 33 <!-- Collapsible headers for sorting preferences. -->
28 <org.chromium.chrome.browser.preferences.ExpandablePreferenceGroup 34 <org.chromium.chrome.browser.preferences.ExpandablePreferenceGroup
29 android:key="blocked_group" /> 35 android:key="blocked_group" />
30 <org.chromium.chrome.browser.preferences.ExpandablePreferenceGroup 36 <org.chromium.chrome.browser.preferences.ExpandablePreferenceGroup
31 android:key="allowed_group" /> 37 android:key="allowed_group" />
32 </PreferenceScreen> 38 </PreferenceScreen>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/notifications/NotificationPlatformBridge.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698