blob: 83988f9a6fc1506fd994a14a82575351647093e5 [file] [log] [blame]
<?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"
android:title="@string/all_sites">
<!-- A common binary toggle, only shown for specific categories that allow
turning default values for that category on/off.-->
<org.chromium.chrome.browser.settings.ChromeSwitchPreference
android:key="binary_toggle"
android:defaultValue="true" />
<!-- A common Allow/Ask/Block 3-state toggle (radio group). Only shown when
the category requires these 3 states. Mutual exclusive with the
"binary_toggle" above. -->
<org.chromium.chrome.browser.settings.website.TriStateSiteSettingsPreference
android:key="tri_state_toggle" />
<!-- A toggle for blocking third-party cookies, only shown for the Cookies category. -->
<org.chromium.chrome.browser.settings.ChromeBaseCheckBoxPreference
android:key="third_party_cookies"
android:title="@string/block_third_party_cookies_title"
android:summary="@string/block_third_party_cookies_summary"
android:defaultValue="true"
android:persistent="false" />
<!-- A checkbox for enabling a quiet ui for notification prompts. Only shown in the Notifications category. -->
<org.chromium.chrome.browser.settings.ChromeBaseCheckBoxPreference
android:key="notifications_quiet_ui"
android:title="@string/website_settings_category_notifications_quiet"
android:summary="@string/website_settings_category_notifications_quiet_summary_enabled"
android:defaultValue="false"
android:persistent="false" />
<!-- A toggle for enabling vibration in notifications. -->
<org.chromium.chrome.browser.settings.ChromeBaseCheckBoxPreference
android:key="notifications_vibrate"
android:title="@string/enable_notifications_vibrate_title"
android:summary="@string/enable_notifications_vibrate_summary"
android:defaultValue="true" />
<!-- An hyperlink to explain more about Protected Media content settings. -->
<org.chromium.chrome.browser.settings.LearnMorePreference
android:key="protected_content_learn_more"
android:background="?android:attr/listDivider"
app:helpContext="@string/help_context_protected_content"/>
<!-- Collapsible headers for sorting preferences. -->
<org.chromium.chrome.browser.settings.ExpandablePreferenceGroup
android:key="managed_group" />
<org.chromium.chrome.browser.settings.ExpandablePreferenceGroup
android:key="blocked_group" />
<org.chromium.chrome.browser.settings.ExpandablePreferenceGroup
android:key="allowed_group" />
</PreferenceScreen>