chromium/components/browser_ui/site_settings/android/java/res/xml/website_preferences.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2015 The Chromium Authors
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 card preference to highlight a text paragraph. -->
    <org.chromium.components.browser_ui.settings.CardPreference
        android:key="card_preference"
        app:allowDividerBelow="false"
        app:isPreferenceVisible="false"/>

    <!-- A text message describing cookie settings. -->
    <org.chromium.components.browser_ui.settings.TextMessagePreference
        android:key="info_text"/>

    <!-- A common binary toggle, only shown for specific categories that allow
         turning default values for that category on/off.-->
    <org.chromium.components.browser_ui.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. Mutually exclusive with the
         "binary_toggle" above and the "four_state_cookie_toggle" below. -->
    <org.chromium.components.browser_ui.site_settings.TriStateSiteSettingsPreference
        android:key="tri_state_toggle" />
    <!-- A three state toggle for third-party cookies preferences, only shown for the ThirdPartyCookies category. -->
    <org.chromium.components.browser_ui.site_settings.TriStateCookieSettingsPreference
        android:key="tri_state_cookie_toggle" />
    <!-- A checkbox for enabling a quiet ui for notification prompts. Only shown in the Notifications category. -->
    <org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
        android:key="notifications_quiet_ui"
        android:title="@string/website_settings_category_notifications_quiet"
        android:defaultValue="false"
        android:persistent="false" />
    <!-- A toggle for enabling vibration in notifications. -->
    <org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
        android:key="notifications_vibrate"
        android:title="@string/enable_notifications_vibrate_title"
        android:summary="@string/enable_notifications_vibrate_summary"
        android:defaultValue="true" />
    <!-- Three state radiogroup preference for permissions that support quiet
         prompts. Currently supported by Notifications and Geolocation. -->
    <org.chromium.components.browser_ui.site_settings.TriStatePermissionPreference
        android:key="notifications_tri_state_toggle" />
    <org.chromium.components.browser_ui.site_settings.TriStatePermissionPreference
        android:key="location_tri_state_toggle" />
    <!-- A checkbox to request mobile view when the window is narrow.
         Only shown in the Desktop site category. -->
    <org.chromium.components.browser_ui.settings.ChromeBaseCheckBoxPreference
        android:key="desktop_site_window"
        android:title="@string/enable_desktop_site_window_setting_title"
        android:defaultValue="false"
        android:persistent="false" />
    <!-- A hyperlink to explain more about Protected Media content settings. -->
    <org.chromium.components.browser_ui.settings.LearnMorePreference
        android:key="protected_content_learn_more" />

    <!-- Collapsible headers for sorting preferences. -->
    <org.chromium.components.browser_ui.settings.ExpandablePreferenceGroup
        android:key="managed_group" />
    <org.chromium.components.browser_ui.settings.ExpandablePreferenceGroup
        android:key="blocked_group" />
    <org.chromium.components.browser_ui.settings.ExpandablePreferenceGroup
        android:key="allowed_group" />

    <!-- Text messages describing the anti abuse features.
         Only shown for the AntiAbuse category. -->
    <PreferenceCategory
        android:key="anti_abuse_when_on_header"
        android:title="@string/anti_abuse_when_on_header"/>
    <org.chromium.components.browser_ui.settings.TextMessagePreference
        android:key="anti_abuse_when_on_section_one"
        android:summary="@string/anti_abuse_when_on_section_one"
        android:icon="@drawable/ic_archive"
        app:allowDividerBelow="false" />
    <org.chromium.components.browser_ui.settings.TextMessagePreference
        android:key="anti_abuse_when_on_section_two"
        android:summary="@string/anti_abuse_when_on_section_two"
        android:icon="@drawable/ic_dashboard"
        app:allowDividerBelow="false" />
    <org.chromium.components.browser_ui.settings.TextMessagePreference
        android:key="anti_abuse_when_on_section_three"
        android:summary="@string/anti_abuse_when_on_section_three"
        android:icon="@drawable/ic_timer"
        app:allowDividerBelow="false" />
    <PreferenceCategory
        android:key="anti_abuse_things_to_consider_header"
        android:title="@string/anti_abuse_things_to_consider_header"/>
    <org.chromium.components.browser_ui.settings.TextMessagePreference
        android:key="anti_abuse_things_to_consider_section_one"
        android:summary="@string/anti_abuse_things_to_consider_section_one"
        android:icon="@drawable/ic_background_replace"
        app:allowDividerBelow="false" />
</PreferenceScreen>