blob: 6fb8781c59a83a409be56b7a0519aeff9c419d82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
<link rel="import" href="constants.html">
<link rel="import" href="site_list.html">
<link rel="import" href="site_settings_prefs_browser_proxy.html">
<dom-module id="category-setting-exceptions">
<template>
<site-list
category="[[category]]"
category-subtype="[[ContentSetting.BLOCK]]"
category-header="[[blockHeader]]"
read-only-list="[[getReadOnlyList_(readOnlyList, defaultManaged_)]]"
search-filter="[[searchFilter]]"
hidden$="[[!showBlockSiteList_]]">
</site-list>
<site-list
category="[[category]]"
category-subtype="[[ContentSetting.SESSION_ONLY]]"
category-header="$i18n{siteSettingsSessionOnly}"
read-only-list="[[getReadOnlyList_(readOnlyList, defaultManaged_)]]"
search-filter="[[searchFilter]]">
</site-list>
<site-list
category="[[category]]"
category-subtype="[[ContentSetting.ALLOW]]"
category-header="$i18n{siteSettingsAllow}"
read-only-list="[[getReadOnlyList_(readOnlyList, defaultManaged_)]]"
search-filter="[[searchFilter]]"
hidden$="[[!showAllowSiteList_]]">
</site-list>
</template>
<script src="category_setting_exceptions.js"></script>
</dom-module>
|