<style include="cr-shared-style settings-shared">
cr-tooltip {
--paper-tooltip-min-width: max-content;
}
</style>
<settings-safety-hub-module
id="module"
animated
on-sh-module-item-button-click="onBlockClick_"
on-sh-module-more-action-button-click="onMoreActionClick_"
header="[[headerString_]]"
subheader="[[subheaderString_]]"
header-icon="[[headerIconString_]]"
button-aria-label-id="safetyCheckNotificationPermissionReviewDontAllowAriaLabel"
button-icon="cr20:block"
button-tooltip-text="$i18n{safetyCheckNotificationPermissionReviewDontAllowLabel}"
more-action-visible
more-button-aria-label-id="safetyCheckNotificationPermissionReviewMoreActionsAriaLabel"
sites="[[sites_]]">
<div slot="button-container">
<cr-button id="blockAllButton" on-click="onBlockAllClick_"
hidden$="[[shouldShowCompletionInfo_]]">
$i18n{safetyCheckNotificationPermissionReviewBlockAllLabel}
</cr-button>
<cr-icon-button id="moreActionButton" class="icon-more-vert"
on-click="onHeaderMoreActionClick_"
hidden$="[[shouldShowCompletionInfo_]]" title="$i18n{moreActions}">
</cr-icon-button>
<cr-icon-button id="bulkUndoButton" iron-icon="settings20:undo"
on-click="onUndoClick_" hidden$="[[!shouldShowCompletionInfo_]]"
on-focus="showUndoTooltip_" on-mouseenter="showUndoTooltip_"
aria-label$="$i18n{safetyCheckNotificationPermissionReviewUndo}">>
</cr-icon-button>
</div>
</settings-safety-hub-module>
<cr-action-menu id="actionMenu" role-description="$i18n{menu}">
<button class="dropdown-item" id="ignore" on-click="onIgnoreClick_"
aria-label$="[[getIgnoreAriaLabelForOrigins(lastOrigins_)]]">
$i18n{safetyCheckNotificationPermissionReviewIgnoreLabel}
</button>
<button class="dropdown-item" id="reset" on-click="onResetClick_"
aria-label$="[[getResetAriaLabelForOrigins(lastOrigins_)]]">
$i18n{safetyCheckNotificationPermissionReviewResetLabel}
</button>
</cr-action-menu>
<cr-action-menu id="headerActionMenu" role-description="$i18n{menu}">
<button class="dropdown-item" id="goToSettings"
on-click="onGoToSettingsClick_">
$i18n{safetyHubGoNotificationSettingsItem}
</button>
</cr-action-menu>
<cr-toast id="undoToast" duration="5000">
<div id="undoNotification">[[toastText_]]</div>
<cr-button id="toastUndoButton" on-click="onUndoClick_"
aria-label="$i18n{safetyCheckNotificationPermissionReviewUndo}">
$i18n{safetyCheckNotificationPermissionReviewUndo}
</cr-button>
</cr-toast>
<cr-tooltip fit-to-visible-bounds manual-mode position="top" offset="3">
$i18n{safetyCheckNotificationPermissionReviewUndo}
</cr-tooltip>