<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!--
The order of the following items is from: http://crbug.com/610358.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<!-- All sites -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.AllSiteSettings"
android:key="all_sites"
android:title="@string/all_sites"
android:icon="@drawable/settings_all_sites"
app:iconTint="@macro/default_icon_color" />
<!-- PERMISSIONS section -->
<PreferenceCategory android:title="@string/site_settings_permission_category"/>
<!-- Location -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="device_location" />
<!-- Camera -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="camera" />
<!-- Microphone -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="microphone" />
<!-- Notifications -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="notifications" />
<!-- StorageAccess -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="storage_access" />
<!-- Sensors -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="sensors" />
<!-- NFC -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="nfc" />
<!-- USB -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="usb" />
<!-- Clipboard API -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="clipboard" />
<!-- Bluetooth -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="bluetooth" />
<!-- Bluetooth Scanning -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="bluetooth_scanning" />
<!-- VR -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="virtual_reality" />
<!-- AR -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="augmented_reality" />
<!-- Hand Tracking -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="hand_tracking" />
<!-- Idle Detection -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="idle_detection" />
<!-- CONTENT SETTINGS section -->
<PreferenceCategory android:title="@string/site_settings_content_category"/>
<!-- Third party cookies -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="third_party_cookies"
android:icon="@drawable/permission_cookie"
app:iconTint="@macro/default_icon_color"
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings" />
<!-- Tracking protection settings -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="tracking_protection"
android:icon="@drawable/ic_eye_crossed"
app:iconTint="@macro/default_icon_color"
android:fragment="org.chromium.components.privacy_sandbox.TrackingProtectionSettings"
android:title="@string/tracking_protection_settings_title"
app:isPreferenceVisible="false" />
<!-- JavaScript -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="javascript" />
<!-- Popups -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="popups" />
<!-- Sound -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="sound" />
<!-- Ads -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="ads" />
<!-- Protected content -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="protected_content" />
<!-- Federated Identity API -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="federated_identity_api" />
<!-- Anti-abuse -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="anti_abuse"/>
<!-- Site data -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:key="site_data"
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings" />
<!-- Request Desktop Site -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="request_desktop_site" />
<!-- Auto-dark Web Content -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="auto_dark_web_content" />
<!-- Background sync -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="background_sync" />
<!-- Automatic Downloads -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.SingleCategorySettings"
android:key="automatic_downloads" />
<!-- Zoom -->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.AllSiteSettings"
android:key="zoom"
android:title="@string/page_zoom_menu_title"
android:icon="@drawable/ic_zoom"
app:iconTint="@macro/default_icon_color" />
<!-- Storage -->
<!-- TODO(finnur): Move this over to the new Usage screen, once it exists.-->
<org.chromium.components.browser_ui.settings.ChromeBasePreference
android:fragment="org.chromium.components.browser_ui.site_settings.AllSiteSettings"
android:key="use_storage"
android:title="@string/website_settings_storage"
android:icon="@drawable/ic_storage"
app:iconTint="@macro/default_icon_color" />
<Preference
android:key="divider"
android:selectable="false"
android:layout="@layout/horizontal_divider"/>
<!-- Safety Hub Autorevocation-->
<org.chromium.components.browser_ui.settings.ChromeSwitchPreference
android:key="permission_autorevocation"
android:title="@string/safety_hub_autorevocation_toggle_title"
android:summary="@string/safety_hub_autorevocation_toggle_summary" />
</PreferenceScreen>