<style include="cr-shared-style cr-hidden-style settings-shared iron-flex">
.content-settings-header,
.radio-group {
padding: 0 var(--cr-section-padding);
}
.radio-group-sub-heading {
padding-bottom: 10px;
}
.padded-radio-section {
padding-inline-start: 50px;
}
settings-collapse-radio-button {
--settings-collapse-toggle-min-height: var(--cr-section-min-height);
}
settings-collapse-radio-button.two-line {
--settings-collapse-toggle-min-height:
var(--cr-section-two-line-min-height);
}
settings-collapse-radio-button:not(:first-of-type) {
--settings-collapse-separator-line: var(--cr-separator-line);
}
</style>
<template is="dom-if" if="[[showClearBrowsingDataDialog_]]" restamp>
<settings-clear-browsing-data-dialog prefs="{{prefs}}"
on-close="onCbdDialogClosed_">
</settings-clear-browsing-data-dialog>
</template>
<template is="dom-if" if="[[showPrivacyGuideDialog_]]" restamp>
<settings-privacy-guide-dialog id="privacyGuideDialog" prefs="{{prefs}}"
on-close="onPrivacyGuideDialogClosed_">
</settings-privacy-guide-dialog>
</template>
<settings-animated-pages id="pages" section="privacy"
focus-config="[[focusConfig_]]">
<div route-path="default">
<cr-link-row id="clearBrowsingData"
start-icon="cr:delete"
label="$i18n{clearBrowsingData}"
sub-label="$i18n{clearBrowsingDataDescription}"
on-click="onClearBrowsingDataClick_"></cr-link-row>
<template is="dom-if" if="[[isPrivacyGuideAvailable]]">
<cr-link-row id="privacyGuideLinkRow" class="hr"
start-icon="privacy20:signpost"
label="$i18n{privacyGuideLabel}"
sub-label="$i18n{privacyGuideSublabel}"
on-click="onPrivacyGuideClick_"
role-description="$i18n{subpageArrowRoleDescription}">
</cr-link-row>
</template>
<template is="dom-if" if="[[is3pcdRedesignEnabled_]]">
<cr-link-row id="trackingProtectionLinkRow"
start-icon="settings:visibility-off"
class="hr" label="$i18n{trackingProtectionLinkRowLabel}"
sub-label="$i18n{trackingProtectionLinkRowSubLabel}"
on-click="onTrackingProtectionClick_"
role-description="$i18n{subpageArrowRoleDescription}">
</cr-link-row>
</template>
<template is="dom-if" if="[[!is3pcdRedesignEnabled_]]">
<cr-link-row id="thirdPartyCookiesLinkRow"
start-icon="privacy:cookie"
class="hr" label="$i18n{thirdPartyCookiesLinkRowLabel}"
sub-label="[[computeThirdPartyCookiesSublabel_(
prefs.profile.cookie_controls_mode.*)]]"
on-click="onCookiesClick_"
role-description="$i18n{subpageArrowRoleDescription}">
</cr-link-row>
</template>
<template is="dom-if" if=
"[[shouldShowAdPrivacy_(
isPrivacySandboxRestricted_,
isPrivacySandboxRestrictedNoticeEnabled_)]]">
<cr-link-row id="privacySandboxLinkRow"
start-icon="privacy20:ads-click"
class="hr"
label="$i18n{adPrivacyLinkRowLabel}"
sub-label="[[computeAdPrivacySublabel_(
isPrivacySandboxRestricted_,
isPrivacySandboxRestrictedNoticeEnabled_)]]"
on-click="onPrivacySandboxClick_"
role-description="$i18n{subpageArrowRoleDescription}">
</cr-link-row>
</template>
<cr-link-row id="securityLinkRow" start-icon="privacy:lock"
class="hr" label="$i18n{securityPageTitle}"
sub-label="$i18n{securityPageDescription}"
on-click="onSecurityPageClick_"
role-description="$i18n{subpageArrowRoleDescription}"></cr-link-row>
<cr-link-row id="permissionsLinkRow" start-icon="privacy:page-info"
class="hr" label="$i18n{siteSettings}"
sub-label="$i18n{permissionsPageDescription}"
on-click="onPermissionsPageClick_"
role-description="$i18n{subpageArrowRoleDescription}"></cr-link-row>
</div>
<if expr="use_nss_certs">
<template is="dom-if" if="[[!enableCertManagementUIV2_]]">
<template is="dom-if" route-path="/certificates">
<settings-subpage
associated-control="[[$$('#securityLinkRow')]]"
page-title="$i18n{manageCertificates}">
<certificate-manager></certificate-manager>
</settings-subpage>
</template>
</template>
</if>
<template is="dom-if" route-path="/content/v8" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryJavascriptJit}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsJavascriptJitDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.JAVASCRIPT_JIT]]"
allow-option-label=
"$i18n{siteSettingsJavascriptJitAllowed}"
allow-option-sub-label=
"$i18n{siteSettingsJavascriptJitAllowedSubLabel}"
block-option-label="$i18n{siteSettingsJavascriptJitBlocked}"
block-option-sub-label=
"$i18n{siteSettingsJavascriptJitBlockedSubLabel}">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.JAVASCRIPT_JIT]]"
allow-header="$i18n{siteSettingsJavascriptJitAllowedExceptions}"
block-header="$i18n{siteSettingsJavascriptJitBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableComposeProactiveNudge_]]">
<template is="dom-if" route-path="/content/offerWritingHelp" no-search>
<settings-subpage page-title="$i18n{siteSettingsOfferWritingHelp}"
learn-more-url="$i18n{composeLearnMorePageURL}">
<settings-offer-writing-help-page prefs="{{prefs}}">
</settings-offer-writing-help-page>
</settings-subpage>
</template>
</template>
<template is="dom-if" if="[[enableSecurityKeysSubpage_]]">
<template is="dom-if" route-path="/securityKeys">
<settings-subpage associated-control="[[$$('#securityLinkRow')]]"
page-title="$i18n{securityKeysTitle}">
<security-keys-subpage></security-keys-subpage>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/securityKeys/phones">
<settings-subpage associated-control="[[$$('#securityLinkRow')]]"
page-title="$i18n{securityKeysPhonesManage}">
<security-keys-phones-subpage></security-keys-phones-subpage>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content">
<settings-subpage
associated-control="[[$$('#permissionsLinkRow')]]"
id="site-settings"
page-title="$i18n{siteSettings}"
learn-more-url="$i18n{exceptionsLearnMoreURL}">
<settings-site-settings-page focus-config="[[focusConfig_]]"
prefs="{{prefs}}">
</settings-site-settings-page>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableSafetyHub_]]">
<template is="dom-if" route-path="/safetyCheck">
<!-- TODO(crbug.com/40267370): Make the page searchable.-->
<settings-subpage id="safetyHub" page-title="$i18n{safetyHub}"
class="multi-card" no-search
learn-more-url="$i18n{safetyHubHelpCenterURL}">
<settings-safety-hub-page prefs="{{prefs}}">
</settings-safety-hub-page>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/security">
<settings-subpage id="security" page-title="$i18n{securityPageTitle}"
associated-control="[[$$('#securityLinkRow')]]"
learn-more-url="$i18n{safeBrowsingHelpCenterURL}">
<settings-security-page prefs="{{prefs}}"
focus-config="[[focusConfig_]]">
</settings-security-page>
</settings-subpage>
</template>
<template is="dom-if" route-path="/adPrivacy"
no-search="[[!shouldShowAdPrivacy_(isPrivacySandboxRestricted_,
isPrivacySandboxRestrictedNoticeEnabled_)]]">
<settings-subpage id="privacy-sandbox"
page-title="$i18n{adPrivacyPageTitle}"
associated-control="[[$$('#privacySandboxLinkRow')]]"
learn-more-url="$i18n{adPrivacyLearnMoreURL}">
<settings-privacy-sandbox-page prefs="{{prefs}}"
focus-config="[[focusConfig_]]">
</settings-privacy-sandbox-page>
</settings-subpage>
</template>
<template is="dom-if" route-path="/adPrivacy/interests"
no-search="[[isPrivacySandboxRestricted_]]">
<settings-subpage id="privacy-sandbox-topics"
page-title="$i18n{topicsPageTitle}"
associated-control="[[$$('#privacySandboxLinkRow')]]"
learn-more-url="$i18n{adPrivacyLearnMoreURL}">
<settings-privacy-sandbox-topics-subpage prefs="{{prefs}}"
focus-config="[[focusConfig_]]">
</settings-privacy-sandbox-topics-subpage>
</settings-subpage>
</template>
<template is="dom-if" route-path="/adPrivacy/interests/manage"
no-search="[[!shouldShowManageTopics_(
isProactiveTopicsBlockingEnabled_, isPrivacySandboxRestricted_)]]">
<settings-subpage id="privacy-sandbox-manage-topics"
page-title="$i18n{manageTopicsHeading}"
associated-control="[[$$('#privacySandboxLinkRow')]]"
learn-more-url="$i18n{adPrivacyLearnMoreURL}">
<settings-privacy-sandbox-manage-topics-subpage
focus-config="[[focusConfig_]]" prefs="{{prefs}}">
</settings-privacy-sandbox-manage-topics-subpage>
</settings-subpage>
</template>
<template is="dom-if" route-path="/adPrivacy/sites"
no-search="[[isPrivacySandboxRestricted_]]">
<settings-subpage id="privacy-sandbox-fledge"
page-title="$i18n{fledgePageTitle}"
associated-control="[[$$('#privacySandboxLinkRow')]]"
learn-more-url="$i18n{adPrivacyLearnMoreURL}">
<settings-privacy-sandbox-fledge-subpage prefs="{{prefs}}">
</settings-privacy-sandbox-fledge-subpage>
</settings-subpage>
</template>
<template is="dom-if" route-path="/adPrivacy/measurement"
no-search="[[!shouldShowAdPrivacy_(isPrivacySandboxRestricted_,
isPrivacySandboxRestrictedNoticeEnabled_)]]">
<settings-subpage id="privacy-sandbox-ad-measurement"
page-title="$i18n{adMeasurementPageTitle}"
associated-control="[[$$('#privacySandboxLinkRow')]]"
learn-more-url="$i18n{adPrivacyLearnMoreURL}">
<settings-privacy-sandbox-ad-measurement-subpage prefs="{{prefs}}">
</settings-privacy-sandbox-ad-measurement-subpage>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/all" no-search>
<settings-subpage page-title="$i18n{siteSettingsAllSites}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}"
preserve-search-term>
<all-sites filter="[[searchFilter_]]"></all-sites>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/automaticDownloads" no-search>
<settings-subpage page-title="$i18n{siteSettingsAutomaticDownloads}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsAutomaticDownloadsDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.AUTOMATIC_DOWNLOADS]]"
allow-option-label=
"$i18n{siteSettingsAutomaticDownloadsAllowed}"
allow-option-icon="cr:file-download"
block-option-label
="$i18n{siteSettingsAutomaticDownloadsBlocked}"
block-option-icon="privacy:file-download-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.AUTOMATIC_DOWNLOADS]]"
allow-header=
"$i18n{siteSettingsAutomaticDownloadsAllowedExceptions}"
block-header=
"$i18n{siteSettingsAutomaticDownloadsBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableWebPrintingContentSetting_]]">
<template is="dom-if" route-path="/content/webPrinting" no-search>
<settings-subpage page-title="$i18n{siteSettingsWebPrinting}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsWebPrintingDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.WEB_PRINTING]]"
allow-option-label=
"$i18n{siteSettingsWebPrintingAsk}"
allow-option-icon="settings:printer"
block-option-label
="$i18n{siteSettingsWebPrintingBlock}"
block-option-icon="settings:printer-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.WEB_PRINTING]]"
allow-header=
"$i18n{siteSettingsWebPrintingAllowedExceptions}"
block-header=
"$i18n{siteSettingsWebPrintingBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/backgroundSync" no-search>
<settings-subpage page-title="$i18n{siteSettingsBackgroundSync}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsBackgroundSyncDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.BACKGROUND_SYNC]]"
allow-option-label=
"$i18n{siteSettingsBackgroundSyncAllowed}"
allow-option-icon="cr:sync"
block-option-label="$i18n{siteSettingsBackgroundSyncBlocked}"
block-option-sub-label=
"$i18n{siteSettingsBackgroundSyncBlockedSubLabel}"
block-option-icon="privacy:sync-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.BACKGROUND_SYNC]]"
allow-header=
"$i18n{siteSettingsBackgroundSyncAllowedExceptions}"
block-header=
"$i18n{siteSettingsBackgroundSyncBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/camera" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryCamera}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<media-picker label="$i18n{siteSettingsCameraLabel}" type="camera">
</media-picker>
<div class="content-settings-header secondary">
$i18n{siteSettingsCameraDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.CAMERA]]"
allow-option-label=
"$i18n{siteSettingsCameraAllowed}"
allow-option-icon="cr:videocam"
block-option-label="$i18n{siteSettingsCameraBlocked}"
block-option-sub-label=
"$i18n{siteSettingsCameraBlockedSubLabel}"
block-option-icon="privacy:videocam-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.CAMERA]]" read-only-list
allow-header="$i18n{siteSettingsCameraAllowedExceptions}"
block-header="$i18n{siteSettingsCameraBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[is3pcdRedesignEnabled_]]">
<template is="dom-if" route-path="/trackingProtection">
<settings-subpage id="trackingProtection"
page-title="$i18n{trackingProtectionPageTitle}"
learn-more-url="$i18n{trackingProtectionHelpCenterURL}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}"
associated-control="[[$$('#trackingProtectionLinkRow')]]">
<settings-cookies-page prefs="{{prefs}}"
focus-config="[[focusConfig_]]"
search-term="[[searchFilter_]]">
</settings-cookies-page>
</settings-subpage>
</template>
</template>
<template is="dom-if" if="[[!is3pcdRedesignEnabled_]]">
<template is="dom-if" route-path="/cookies">
<settings-subpage id="cookies"
page-title="$i18n{thirdPartyCookiesPageTitle}"
learn-more-url="$i18n{cookiesSettingsHelpCenterURL}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}"
associated-control="[[$$('#thirdPartyCookiesLinkRow')]]">
<settings-cookies-page prefs="{{prefs}}"
focus-config="[[focusConfig_]]"
search-term="[[searchFilter_]]">
</settings-cookies-page>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/images" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryImages}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsImagesDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.IMAGES]]"
allow-option-label="$i18n{siteSettingsImagesAllowed}"
allow-option-icon="privacy:imagesmode"
block-option-label="$i18n{siteSettingsImagesBlocked}"
block-option-sub-label=
"$i18n{siteSettingsImagesBlockedSubLabel}"
block-option-icon="privacy:hide-image">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.IMAGES]]"
allow-header="$i18n{siteSettingsImagesAllowedExceptions}"
block-header="$i18n{siteSettingsImagedBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/insecureContent" no-search>
<settings-subpage
page-title="$i18n{siteSettingsCategoryInsecureContent}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsInsecureContentDescription}
</div>
<div class="cr-row first secondary">
$i18n{siteSettingsInsecureContentBlock}
</div>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.MIXEDSCRIPT]]"
allow-header=
"$i18n{siteSettingsInsecureContentAllowedExceptions}"
block-header=
"$i18n{siteSettingsInsecureContentBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableFederatedIdentityApiContentSetting_]]">
<template is="dom-if" route-path="/content/federatedIdentityApi"
no-search>
<settings-subpage
page-title="$i18n{siteSettingsCategoryFederatedIdentityApi}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsFederatedIdentityApiDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.FEDERATED_IDENTITY_API]]"
allow-option-label=
"$i18n{siteSettingsFederatedIdentityApiAllowed}"
allow-option-icon="privacy:account-circle"
block-option-label=
"$i18n{siteSettingsFederatedIdentityApiBlocked}"
block-option-icon="privacy:account-circle-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.FEDERATED_IDENTITY_API]]"
allow-header=
"$i18n{siteSettingsFederatedIdentityApiAllowedExceptions}"
block-header=
"$i18n{siteSettingsFederatedIdentityApiBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/siteData" no-search>
<settings-subpage page-title="$i18n{siteDataPageTitle}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<settings-site-data prefs="{{prefs}}"
search-term="[[searchFilter_]]">
</settings-site-data>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/location" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryLocation}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsLocationDescription}
</div>
<div id="locationRadioGroup" class="radio-group">
<template is="dom-if" if="[[!showDedicatedCpssSetting_]]">
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.GEOLOCATION]]"
allow-option-label=
"$i18n{siteSettingsLocationAllowed}"
allow-option-icon="settings:location-on"
block-option-label="$i18n{siteSettingsLocationBlocked}"
block-option-sub-label=
"$i18n{siteSettingsLocationBlockedSubLabel}"
block-option-icon="privacy:location-off">
</settings-category-default-radio-group>
</template>
<template is="dom-if" if="[[showDedicatedCpssSetting_]]">
<h2>$i18n{siteSettingsDefaultBehavior}</h2>
<div id="geolocationSubHeading"
class="secondary radio-sub-heading">
$i18n{siteSettingsDefaultBehaviorDescription}
</div>
<cr-radio-group
on-selected-changed="onLocationTopLevelRadioChanged_">
<cr-radio-button no-collapse
name="location-ask-radio-button"
checked$="[[isLocationAllowed_]]">
<iron-icon icon="settings:location-on"></iron-icon>
$i18n{siteSettingsLocationAllowed}
</cr-radio-button>
<settings-radio-group
pref="{{prefs.generated.geolocation}}"
selectable-elements="cr-radio-button"
hidden$="[[!isLocationAllowed_]]">
<cr-radio-button class="padded-radio-section"
name="[[settingsStateEnum_.QUIET]]"
pref="[[prefs.generated.geolocation]]"
label="$i18n{siteSettingsLocationAskQuiet}">
</cr-radio-button>
<cr-radio-button class="padded-radio-section"
name="[[settingsStateEnum_.CPSS]]"
pref="[[prefs.generated.geolocation]]"
label="$i18n{siteSettingsLocationAskCPSS}">
</cr-radio-button>
<cr-radio-button class="padded-radio-section"
name="[[settingsStateEnum_.LOUD]]"
pref="[[prefs.generated.geolocation]]"
label="$i18n{siteSettingsLocationAskLoud}">
</cr-radio-button>
</settings-radio-group>
<cr-radio-button class="two-line"
name="location-block-radio-button"
sub-label="$i18n{siteSettingsLocationBlockedSubLabel}"
checked$="[[!isLocationAllowed_]]">
<iron-icon icon="privacy:location-off"></iron-icon>
$i18n{siteSettingsLocationBlocked}
</cr-radio-button>
</cr-radio-group>
</template>
</div>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.GEOLOCATION]]"
read-only-list
allow-header="$i18n{siteSettingsLocationAllowedExceptions}"
block-header="$i18n{siteSettingsLocationBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/handlers" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryHandlers}">
<protocol-handlers
toggle-off-label="$i18n{siteSettingsHandlersBlocked}"
toggle-on-label="$i18n{siteSettingsHandlersAskRecommended}">
</protocol-handlers>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/zoomLevels" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryZoomLevels}">
<div class="content-settings-header secondary">
$i18n{siteSettingsZoomLevelsDescription}
</div>
<zoom-levels></zoom-levels>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/pdfDocuments" no-search>
<settings-subpage page-title="$i18n{siteSettingsPdfDocuments}">
<div class="radio-group">
<div class="secondary">$i18n{siteSettingsPdfsDescription}</div>
<h2>$i18n{siteSettingsDefaultBehavior}</h2>
<div class="secondary radio-sub-heading">
$i18n{siteSettingsDefaultBehaviorDescription}
</div>
<settings-radio-group
pref="{{prefs.plugins.always_open_pdf_externally}}"
selectable-elements="settings-collapse-radio-button">
<settings-collapse-radio-button no-collapse
pref="[[prefs.plugins.always_open_pdf_externally]]"
label="$i18n{siteSettingsPdfsAllowed}"
name="true"
disabled$="[[isGuest_]]"
icon="cr:file-download">
</settings-collapse-radio-button>
<settings-collapse-radio-button no-collapse
pref="[[prefs.plugins.always_open_pdf_externally]]"
label="$i18n{siteSettingsPdfsBlocked}"
name="false"
disabled$="[[isGuest_]]"
icon="privacy:open-in-browser">
</settings-collapse-radio-button>
</settings-radio-group>
</div>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/javascript" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryJavascript}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsJavascriptDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.JAVASCRIPT]]"
allow-option-label="$i18n{siteSettingsJavascriptAllowed}"
allow-option-icon="privacy:code"
block-option-label="$i18n{siteSettingsJavascriptBlocked}"
block-option-icon="privacy:code-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.JAVASCRIPT]]"
allow-header="$i18n{siteSettingsJavascriptAllowedExceptions}"
block-header="$i18n{siteSettingsJavascriptBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/sound" no-search>
<settings-subpage page-title="$i18n{siteSettingsSound}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsSoundDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.SOUND]]"
allow-option-label="$i18n{siteSettingsSoundAllowed}"
allow-option-icon="privacy:volume-up"
block-option-label="$i18n{siteSettingsSoundBlocked}"
block-option-sub-label="$i18n{siteSettingsSoundBlockedSubLabel}"
block-option-icon="privacy:volume-off">
</settings-category-default-radio-group>
<settings-toggle-button
id="block-autoplay-setting"
class="hr"
label="$i18n{siteSettingsBlockAutoplaySetting}"
pref="{{blockAutoplayStatus_.pref}}"
disabled="[[!blockAutoplayStatus_.enabled]]"
hidden="[[!enableBlockAutoplayContentSetting_]]"
on-settings-boolean-control-change="onBlockAutoplayToggleChange_"
no-set-pref>
</settings-toggle-button>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.SOUND]]"
allow-header="$i18n{siteSettingsSoundAllowedExceptions}"
block-header="$i18n{siteSettingsSoundBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[privateStateTokensEnabled_]]">
<template is="dom-if" route-path="/content/autoVerify" no-search>
<settings-subpage page-title="$i18n{siteSettingsAntiAbuse}">
<settings-anti-abuse-page></settings-anti-abuse-page>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/microphone" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryMicrophone}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<media-picker label="$i18n{siteSettingsMicrophoneLabel}" type="mic">
</media-picker>
<div class="content-settings-header secondary">
$i18n{siteSettingsMicDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.MIC]]"
allow-option-label=
"$i18n{siteSettingsMicAllowed}"
allow-option-icon="privacy:mic"
block-option-label="$i18n{siteSettingsMicBlocked}"
block-option-sub-label="$i18n{siteSettingsMicBlockedSubLabel}"
block-option-icon="privacy:mic-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.MIC]]" read-only-list
allow-header="$i18n{siteSettingsMicAllowedExceptions}"
block-header="$i18n{siteSettingsMicBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/sensors" no-search>
<settings-subpage page-title="$i18n{siteSettingsSensors}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsMotionSensorsDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.SENSORS]]"
allow-option-label="$i18n{siteSettingsMotionSensorsAllowed}"
allow-option-icon="privacy:sensors"
block-option-label="$i18n{siteSettingsMotionSensorsBlocked}"
block-option-sub-label=
"$i18n{siteSettingsMotionSensorsBlockedSubLabel}"
block-option-icon="privacy:sensors-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.SENSORS]]" read-only-list
allow-header="$i18n{siteSettingsMotionSensorsAllowedExceptions}"
block-header="$i18n{siteSettingsMotionSensorsBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/notifications" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryNotifications}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div id="notificationRadioGroup" class="radio-group">
<template is="dom-if" if="[[showNotificationPermissionsReview_]]">
<template is="dom-if" if="[[enableSafetyHub_]]">
<h2>$i18n{safetyHub}</h2>
<settings-safety-hub-module id="safetyHubEntryPoint"
header="[[notificationPermissionsReviewHeader_]]"
subheader="[[notificationPermissionsReviewSubheader_]]"
header-icon="cr:security" header-icon-color="blue">
<cr-button id="safetyHubButton" slot="button-container"
class="action-button" on-click="onSafetyHubButtonClick_">
$i18n{safetyHubEntryPointButtonLabel}
</cr-button>
</settings-safety-hub-module>
</template>
<template is="dom-if" if="[[!enableSafetyHub_]]">
<review-notification-permissions>
</review-notification-permissions>
</template>
</template>
<h2>$i18n{siteSettingsDefaultBehavior}</h2>
<div id="notificationSubHeading"
class="secondary radio-sub-heading">
$i18n{siteSettingsNotificationsDefaultBehaviorDescription}
</div>
<template is="dom-if" if="[[!showDedicatedCpssSetting_]]">
<settings-radio-group
pref="{{prefs.generated.notification}}"
selectable-elements="settings-collapse-radio-button">
<settings-collapse-radio-button no-collapse
name="[[settingsStateEnum_.LOUD]]"
pref="[[prefs.generated.notification]]"
label="$i18n{siteSettingsNotificationsAllowed}"
icon="privacy:notifications">
</settings-collapse-radio-button>
<settings-collapse-radio-button no-collapse class="two-line"
name="[[settingsStateEnum_.QUIET]]"
pref="[[prefs.generated.notification]]"
label="$i18n{siteSettingsNotificationsPartial}"
sub-label=
"$i18n{siteSettingsNotificationsPartialSubLabel}"
icon="privacy:notifications">
</settings-collapse-radio-button>
<settings-collapse-radio-button no-collapse class="two-line"
name="[[settingsStateEnum_.BLOCK]]"
pref="[[prefs.generated.notification]]"
label="$i18n{siteSettingsNotificationsBlocked}"
sub-label="$i18n{siteSettingsNotificationsBlockedSubLabel}"
icon="privacy:notifications-off">
</settings-collapse-radio-button>
</settings-radio-group>
</template>
<template is="dom-if" if="[[showDedicatedCpssSetting_]]">
<cr-radio-group
on-selected-changed="onNotificationTopLevelRadioChanged_">
<cr-radio-button
id="notification-ask-radio-button"
name="notification-ask-radio-button"
checked$="[[isNotificationAllowed_]]">
<iron-icon icon="privacy:notifications"></iron-icon>
$i18n{siteSettingsNotificationsAskState}
</cr-radio-button>
<settings-radio-group
pref="{{prefs.generated.notification}}"
selectable-elements="cr-radio-button"
hidden$="[[!isNotificationAllowed_]]">
<cr-radio-button class="padded-radio-section"
id="notification-ask-quiet"
name="[[settingsStateEnum_.QUIET]]"
pref="[[prefs.generated.notification]]"
label="$i18n{siteSettingsNotificationsAskQuiet}">
</cr-radio-button>
<cr-radio-button class="padded-radio-section"
id="notification-ask-cpss"
name="[[settingsStateEnum_.CPSS]]"
pref="[[prefs.generated.notification]]"
label="$i18n{siteSettingsNotificationsAskCPSS}">
</cr-radio-button>
<cr-radio-button class="padded-radio-section"
id="notification-ask-loud"
name="[[settingsStateEnum_.LOUD]]"
pref="[[prefs.generated.notification]]"
label="$i18n{siteSettingsNotificationsAskLoud}">
</cr-radio-button>
</settings-radio-group>
<cr-radio-button class="two-line"
id="notification-block"
name="notification-block-radio-button"
sub-label="$i18n{siteSettingsNotificationsBlockedSubLabel}"
checked$="[[!isNotificationAllowed_]]">
<iron-icon icon="privacy:notifications-off"></iron-icon>
$i18n{siteSettingsNotificationsBlocked}
</cr-radio-button>
</cr-radio-group>
</template>
</div>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.NOTIFICATIONS]]"
allow-header="$i18n{siteSettingsNotificationsAllowedExceptions}"
block-header="$i18n{siteSettingsNotificationsBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/popups" no-search>
<settings-subpage page-title="$i18n{siteSettingsCategoryPopups}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsPopupsDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.POPUPS]]"
allow-option-label="$i18n{siteSettingsPopupsAllowed}"
allow-option-icon="cr:open-in-new"
block-option-label="$i18n{siteSettingsPopupsBlocked}"
block-option-icon="privacy:open-in-new-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.POPUPS]]"
allow-header="$i18n{siteSettingsPopupsAllowedExceptions}"
block-header="$i18n{siteSettingsPopupsBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableSafeBrowsingSubresourceFilter_]]"
no-search>
<template is="dom-if" route-path="/content/ads" no-search>
<settings-subpage page-title="$i18n{siteSettingsAds}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsAdsDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.ADS]]"
allow-option-label="$i18n{siteSettingsAdsAllowed}"
allow-option-icon="privacy:web-asset"
block-option-label="$i18n{siteSettingsAdsBlocked}"
block-option-icon="privacy:web-asset-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.ADS]]"
read-only-list
allow-header="$i18n{siteSettingsAdsAllowedExceptions}"
block-header="$i18n{siteSettingsAdsBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/midiDevices" no-search>
<settings-subpage page-title="$i18n{siteSettingsMidiDevices}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsMidiDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.MIDI_DEVICES]]"
allow-option-label=
"$i18n{siteSettingsMidiAllowed}"
allow-option-icon="privacy:piano"
block-option-label="$i18n{siteSettingsMidiBlocked}"
block-option-icon="privacy:piano-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.MIDI_DEVICES]]"
read-only-list
allow-header="$i18n{siteSettingsMidiAllowedExceptions}"
block-header="$i18n{siteSettingsMidiBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/usbDevices" no-search>
<settings-subpage page-title="$i18n{siteSettingsUsbDevices}"
learn-more-url="$i18n{chooserUsbOverviewURL}">
<div class="content-settings-header secondary">
$i18n{siteSettingsUsbDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.USB_DEVICES]]"
allow-option-label="$i18n{siteSettingsUsbAllowed}"
allow-option-icon="privacy:usb"
block-option-label="$i18n{siteSettingsUsbBlocked}"
block-option-icon="privacy:usb-off">
</settings-category-default-radio-group>
<chooser-exception-list
category="[[contentSettingsTypesEnum_.USB_DEVICES]]"
chooser-type="[[chooserTypeEnum_.USB_DEVICES]]">
</chooser-exception-list>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/serialPorts" no-search>
<settings-subpage page-title="$i18n{siteSettingsSerialPorts}"
learn-more-url="$i18n{chooserSerialOverviewUrl}">
<div class="content-settings-header secondary">
$i18n{siteSettingsSerialPortsDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.SERIAL_PORTS]]"
allow-option-label=
"$i18n{siteSettingsSerialPortsAllowed}"
allow-option-icon="privacy:developer-board"
block-option-label="$i18n{siteSettingsSerialPortsBlocked}"
block-option-icon="privacy:developer-board-off">
</settings-category-default-radio-group>
<chooser-exception-list
category="[[contentSettingsTypesEnum_.SERIAL_PORTS]]"
chooser-type="[[chooserTypeEnum_.SERIAL_PORTS]]">
</chooser-exception-list>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableWebBluetoothNewPermissionsBackend_]]">
<template is="dom-if" route-path="/content/bluetoothDevices" no-search>
<settings-subpage page-title="$i18n{siteSettingsBluetoothDevices}"
learn-more-url="$i18n{bluetoothAdapterOffHelpURL}">
<div class="content-settings-header secondary">
$i18n{siteSettingsBluetoothDevicesDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.BLUETOOTH_DEVICES]]"
allow-option-label=
"$i18n{siteSettingsBluetoothDevicesAllowed}"
allow-option-icon="settings:bluetooth"
block-option-label=
"$i18n{siteSettingsBluetoothDevicesBlocked}"
block-option-icon="settings:bluetooth-off">
</settings-category-default-radio-group>
<chooser-exception-list
category="[[contentSettingsTypesEnum_.BLUETOOTH_DEVICES]]"
chooser-type="[[chooserTypeEnum_.BLUETOOTH_DEVICES]]">
</chooser-exception-list>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/filesystem" no-search>
<settings-subpage
page-title="$i18n{siteSettingsFileSystemWrite}">
<div class="content-settings-header secondary">
$i18n{siteSettingsFileSystemWriteDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.FILE_SYSTEM_WRITE]]"
allow-option-label=
"$i18n{siteSettingsFileSystemWriteAllowed}"
allow-option-icon="privacy:file-save"
block-option-label=
"$i18n{siteSettingsFileSystemWriteBlocked}"
block-option-icon="privacy:file-save-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.FILE_SYSTEM_WRITE]]"
read-only-list
block-header=
"$i18n{siteSettingsFileSystemWriteBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
<template is="dom-if" if="[[showPersistentPermissions_]]">
<file-system-site-list></file-system-site-list>
</template>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/filesystem/siteDetails"
no-search>
<settings-subpage page-title="[[pageTitle]]">
<file-system-site-details page-title="{{pageTitle}}">
</file-system-site-details>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/hidDevices" no-search>
<settings-subpage page-title="$i18n{siteSettingsHidDevices}"
learn-more-url="$i18n{chooserHidOverviewUrl}">
<div class="content-settings-header secondary">
$i18n{siteSettingsHidDevicesDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.HID_DEVICES]]"
allow-option-label=
"$i18n{siteSettingsHidDevicesAllowed}"
allow-option-icon="privacy:videogame-asset"
block-option-label=
"$i18n{siteSettingsHidDevicesBlocked}"
block-option-icon="privacy:videogame-asset-off">
</settings-category-default-radio-group>
<chooser-exception-list
category="[[contentSettingsTypesEnum_.HID_DEVICES]]"
chooser-type="[[chooserTypeEnum_.HID_DEVICES]]">
</chooser-exception-list>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/siteDetails" no-search>
<settings-subpage page-title="[[pageTitle]]">
<site-details
page-title="{{pageTitle}}"
block-autoplay-enabled="[[blockAutoplayStatus_.pref.value]]">
</site-details>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/protectedContent" no-search>
<if expr="not chromeos_ash and not chromeos_lacros and not is_win">
<settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
</if>
<if expr="is_chromeos or is_win">
<settings-subpage page-title="$i18n{siteSettingsProtectedContent}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
</if>
<div class="radio-group">
<div class="secondary">
$i18n{siteSettingsProtectedContentDescription}
</div>
<h2>$i18n{siteSettingsDefaultBehavior}</h2>
<div class="secondary radio-sub-heading">
$i18n{siteSettingsDefaultBehaviorDescription}
</div>
<settings-radio-group
pref="{{prefs.webkit.webprefs.encrypted_media_enabled}}"
selectable-elements="settings-collapse-radio-button">
<settings-collapse-radio-button no-collapse
pref="[[prefs.webkit.webprefs.encrypted_media_enabled]]"
label="$i18n{siteSettingsProtectedContentAllowed}"
name="true"
disabled$="[[isGuest_]]"
icon="privacy:sync-saved-locally">
</settings-collapse-radio-button>
<settings-collapse-radio-button no-collapse
pref="[[prefs.webkit.webprefs.encrypted_media_enabled]]"
label="$i18n{siteSettingsProtectedContentBlocked}"
sub-label=
"$i18n{siteSettingsProtectedContentBlockedSubLabel}"
name="false"
disabled$="[[isGuest_]]"
icon="privacy:web-asset-off">
</settings-collapse-radio-button>
</settings-radio-group>
</div>
<if expr="is_chromeos or is_win">
<settings-category-default-radio-group
header="$i18n{siteSettingsProtectedContentIdentifiers}"
description=
"$i18n{siteSettingsProtectedContentIdentifiersExplanation}"
category="[[contentSettingsTypesEnum_.PROTECTED_CONTENT]]"
block-option-label=
"$i18n{siteSettingsProtectedContentIdentifiersBlocked}"
block-option-sub-label=
"$i18n{siteSettingsProtectedContentIdentifiersBlockedSubLabel}"
block-option-icon="privacy:web-asset-off"
allow-option-label=
"$i18n{siteSettingsProtectedContentIdentifiersAllowed}"
<if expr="is_win and _google_chrome">
allow-option-sub-label=
"$i18n{siteSettingsProtectedContentIdentifiersAllowedSubLabel}"
</if>
allow-option-icon="privacy:sync-saved-locally"
disabled$="[[isGuest_]]">
</settings-category-default-radio-group>
<category-setting-exceptions
description=
"$i18n{siteSettingsCustomizedBehaviorsDescriptionShort}"
category="[[contentSettingsTypesEnum_.PROTECTED_CONTENT]]"
allow-header=
"$i18n{siteSettingsProtectedContentIdentifiersAllowedExceptions}"
block-header=
"$i18n{siteSettingsProtectedContentIdentifiersBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</if>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/clipboard" no-search>
<settings-subpage page-title="$i18n{siteSettingsClipboard}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsClipboardDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.CLIPBOARD]]"
allow-option-label="$i18n{siteSettingsClipboardAllowed}"
allow-option-icon="privacy:content-paste"
block-option-label="$i18n{siteSettingsClipboardBlocked}"
block-option-icon="privacy:content-paste-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.CLIPBOARD]]"
allow-header="$i18n{siteSettingsClipboardAllowedExceptions}"
block-header="$i18n{siteSettingsClipboardBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[enablePaymentHandlerContentSetting_]]">
<template is="dom-if" route-path="/content/paymentHandler" no-search>
<settings-subpage page-title="$i18n{siteSettingsPaymentHandler}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsPaymentHandlersDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.PAYMENT_HANDLER]]"
allow-option-label=
"$i18n{siteSettingsPaymentHandlersAllowed}"
allow-option-icon="privacy:credit-card"
block-option-label="$i18n{siteSettingsPaymentHandlersBlocked}"
block-option-icon="privacy:credit-card-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.PAYMENT_HANDLER]]"
allow-header=
"$i18n{siteSettingsPaymentHandlersAllowedExceptions}"
block-header=
"$i18n{siteSettingsPaymentHandlersBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" if="[[enableExperimentalWebPlatformFeatures_]]">
<template is="dom-if" route-path="/content/bluetoothScanning" no-search>
<settings-subpage page-title="$i18n{siteSettingsBluetoothScanning}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsBluetoothScanningDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.BLUETOOTH_SCANNING]]"
allow-option-label=
"$i18n{siteSettingsBluetoothScanningAsk}"
allow-option-icon="settings:bluetooth-scanning"
block-option-label="$i18n{siteSettingsBluetoothScanningBlock}"
block-option-icon="settings:bluetooth-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.BLUETOOTH_SCANNING]]"
read-only-list
block-header=
"$i18n{siteSettingsBluetoothScanningBlockedExceptions}"
allow-header=
"$i18n{siteSettingsBluetoothScanningAllowedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/vr" no-search>
<settings-subpage page-title="$i18n{siteSettingsVr}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsVrDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.VR]]"
allow-option-label="$i18n{siteSettingsVrAllowed}"
allow-option-icon="privacy:cardboard"
block-option-label="$i18n{siteSettingsVrBlocked}"
block-option-icon="privacy:cardboard-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.VR]]"
read-only-list
allow-header="$i18n{siteSettingsVrAllowedExceptions}"
block-header="$i18n{siteSettingsVrBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/ar" no-search>
<settings-subpage page-title="$i18n{siteSettingsAr}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsArDescription}
</div>
<!-- TODO(crbug.com/40176677): Fix redesign string when available.-->
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.AR]]"
allow-option-label="$i18n{siteSettingsArAsk}"
allow-option-icon="privacy:cardboard"
block-option-label="$i18n{siteSettingsArBlock}"
block-option-icon="privacy:cardboard-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.AR]]"
read-only-list
allow-header="$i18n{siteSettingsArAllowedExceptions}"
block-header="$i18n{siteSettingsArBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" if="[[enableHandTrackingContentSetting_]]">
<template is="dom-if" route-path="/content/handTracking" no-search>
<settings-subpage page-title="$i18n{siteSettingsHandTracking}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsHandTrackingDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.HAND_TRACKING]]"
allow-option-label="$i18n{siteSettingsHandTrackingAsk}"
allow-option-icon="privacy:hand-gesture"
block-option-label="$i18n{siteSettingsHandTrackingBlock}"
block-option-icon="privacy:hand-gesture-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.HAND_TRACKING]]"
read-only-list
allow-header="$i18n{siteSettingsHandTrackingAllowedExceptions}"
block-header="$i18n{siteSettingsHandTrackingBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" route-path="/content/idleDetection" no-search>
<settings-subpage page-title="$i18n{siteSettingsIdleDetection}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsDeviceUseDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.IDLE_DETECTION]]"
allow-option-label="$i18n{siteSettingsDeviceUseAllowed}"
allow-option-icon="settings:devices"
block-option-label="$i18n{siteSettingsDeviceUseBlocked}"
block-option-icon="privacy:devices-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.IDLE_DETECTION]]"
allow-header="$i18n{siteSettingsDeviceUseAllowedExceptions}"
block-header="$i18n{siteSettingsDeviceUseBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/windowManagement" no-search>
<settings-subpage page-title="$i18n{siteSettingsWindowManagement}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsWindowManagementDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.WINDOW_MANAGEMENT]]"
allow-option-label="$i18n{siteSettingsWindowManagementAsk}"
allow-option-icon="privacy:select-window"
block-option-label="$i18n{siteSettingsWindowManagementBlocked}"
block-option-icon="privacy:select-window-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.WINDOW_MANAGEMENT]]"
allow-header="$i18n{siteSettingsWindowManagementAskExceptions}"
block-header=
"$i18n{siteSettingsWindowManagementBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/localFonts" no-search>
<settings-subpage page-title="$i18n{fonts}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsFontsDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.LOCAL_FONTS]]"
allow-option-label="$i18n{siteSettingsFontsAllowed}"
allow-option-icon="privacy:font-download"
block-option-label="$i18n{siteSettingsFontsBlocked}"
block-option-icon="privacy:font-download-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.LOCAL_FONTS]]"
block-header="$i18n{siteSettingsFontsBlockedExceptions}"
allow-header="$i18n{siteSettingsFontsAllowedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/storageAccess" no-search>
<settings-subpage page-title="$i18n{siteSettingsStorageAccess}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{storageAccessDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.STORAGE_ACCESS]]"
allow-option-label="$i18n{storageAccessAllowed}"
allow-option-icon="privacy:storage-access"
block-option-label="$i18n{storageAccessBlocked}"
block-option-icon="privacy:storage-access-off">
</settings-category-default-radio-group>
<!-- Exceptions section. -->
<div class="content-settings-header">
<h2>$i18n{siteSettingsCustomizedBehaviors}</h2>
<div class="cr-secondary-text">
$i18n{siteSettingsCustomizedBehaviorsDescription}
</div>
</div>
<storage-access-site-list
category-subtype="[[contentSettingEnum_.BLOCK]]"
category-header="$i18n{storageAccessBlockedExceptions}"
search-filter="[[searchFilter_]]">
</storage-access-site-list>
<storage-access-site-list
category-subtype="[[contentSettingEnum_.ALLOW]]"
category-header="$i18n{storageAccessAllowedExceptions}"
search-filter="[[searchFilter_]]">
</storage-access-site-list>
</settings-subpage>
</template>
<template is="dom-if" if="[[autoPictureInPictureEnabled_]]">
<template is="dom-if" route-path="/content/autoPictureInPicture" no-search>
<settings-subpage page-title="$i18n{siteSettingsAutoPictureInPicture}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsAutoPictureInPictureDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.AUTO_PICTURE_IN_PICTURE]]"
allow-option-label=
"$i18n{siteSettingsAutoPictureInPictureAllowed}"
allow-option-icon="settings:picture-in-picture"
block-option-label="$i18n{siteSettingsAutoPictureInPictureBlocked}"
block-option-icon="settings:picture-in-picture-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.AUTO_PICTURE_IN_PICTURE]]"
allow-header=
"$i18n{siteSettingsAutoPictureInPictureAllowedExceptions}"
block-header=
"$i18n{siteSettingsAutoPictureInPictureBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" if="[[capturedSurfaceControlEnabled_]]">
<template is="dom-if" route-path="/content/capturedSurfaceControl" no-search>
<settings-subpage page-title="$i18n{siteSettingsCapturedSurfaceControl}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsCapturedSurfaceControlDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.CAPTURED_SURFACE_CONTROL]]"
allow-option-label=
"$i18n{siteSettingsCapturedSurfaceControlAllowed}"
allow-option-icon="settings:touchpad-mouse"
block-option-label="$i18n{siteSettingsCapturedSurfaceControlBlocked}"
block-option-icon="settings:touchpad-mouse-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.CAPTURED_SURFACE_CONTROL]]"
allow-header=
"$i18n{siteSettingsCapturedSurfaceControlAllowedExceptions}"
block-header=
"$i18n{siteSettingsCapturedSurfaceControlBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" if="[[enableAutomaticFullscreenContentSetting_]]">
<template is="dom-if" route-path="/content/automaticFullScreen"
no-search>
<settings-subpage
page-title="$i18n{siteSettingsCategoryAutomaticFullscreen}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsAutomaticFullscreenDescription}
</div>
<category-setting-exceptions read-only-list
category="[[contentSettingsTypesEnum_.AUTOMATIC_FULLSCREEN]]"
allow-header=
"$i18n{siteSettingsAutomaticFullscreenAllowedExceptions}"
block-header=
"$i18n{siteSettingsAutomaticFullscreenBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
<template is="dom-if" if="[[enableKeyboardAndPointerLockPrompt_]]">
<template is="dom-if" route-path="/content/keyboardLock" no-search>
<settings-subpage page-title="$i18n{siteSettingsKeyboardLock}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsKeyboardLockDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.KEYBOARD_LOCK]]"
allow-option-label=
"$i18n{siteSettingsKeyboardLockAllowed}"
allow-option-icon="settings20:keyboard-lock"
block-option-label="$i18n{siteSettingsKeyboardLockBlocked}"
block-option-icon="settings20:keyboard-lock-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.KEYBOARD_LOCK]]"
allow-header=
"$i18n{siteSettingsKeyboardLockAllowedExceptions}"
block-header=
"$i18n{siteSettingsKeyboardLockBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
<template is="dom-if" route-path="/content/pointerLock" no-search>
<settings-subpage page-title="$i18n{siteSettingsPointerLock}"
search-label="$i18n{siteSettingsAllSitesSearch}"
search-term="{{searchFilter_}}">
<div class="content-settings-header secondary">
$i18n{siteSettingsPointerLockDescription}
</div>
<settings-category-default-radio-group
category="[[contentSettingsTypesEnum_.POINTER_LOCK]]"
allow-option-label=
"$i18n{siteSettingsPointerLockAllowed}"
allow-option-icon="settings20:pointer-lock"
block-option-label="$i18n{siteSettingsPointerLockBlocked}"
block-option-icon="settings20:pointer-lock-off">
</settings-category-default-radio-group>
<category-setting-exceptions
category="[[contentSettingsTypesEnum_.POINTER_LOCK]]"
allow-header=
"$i18n{siteSettingsPointerLockAllowedExceptions}"
block-header=
"$i18n{siteSettingsPointerLockBlockedExceptions}"
search-filter="[[searchFilter_]]">
</category-setting-exceptions>
</settings-subpage>
</template>
</template>
</settings-animated-pages>