OLD | NEW |
1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
2 <link rel="import" href="/icons.html"> | 2 <link rel="import" href="/icons.html"> |
3 <link rel="import" href="/settings_shared_css.html"> | 3 <link rel="import" href="/settings_shared_css.html"> |
4 <link rel="import" href="/site_settings/constants.html"> | 4 <link rel="import" href="/site_settings/constants.html"> |
5 <link rel="import" href="/site_settings/site_settings_behavior.html"> | 5 <link rel="import" href="/site_settings/site_settings_behavior.html"> |
6 <link rel="import" href="/site_settings/site_settings_prefs_browser_proxy.html"> | 6 <link rel="import" href="/site_settings/site_settings_prefs_browser_proxy.html"> |
7 | 7 |
8 <dom-module id="settings-site-settings-page"> | 8 <dom-module id="settings-site-settings-page"> |
9 <template> | 9 <template> |
10 <style include="settings-shared"> | 10 <style include="settings-shared"> |
(...skipping 13 matching lines...) Expand all Loading... |
24 <div class="middle"> | 24 <div class="middle"> |
25 <div> | 25 <div> |
26 [[computeTitleForContentCategory(ContentSettingsTypes.COOKIES)]] | 26 [[computeTitleForContentCategory(ContentSettingsTypes.COOKIES)]] |
27 </div> | 27 </div> |
28 <div id="cookies" class="secondary"></div> | 28 <div id="cookies" class="secondary"></div> |
29 </div> | 29 </div> |
30 </div> | 30 </div> |
31 <div class="settings-box two-line" | 31 <div class="settings-box two-line" |
32 category$="[[ContentSettingsTypes.GEOLOCATION]]" on-tap="onTapCategory"> | 32 category$="[[ContentSettingsTypes.GEOLOCATION]]" on-tap="onTapCategory"> |
33 <iron-icon icon="[[computeIconForContentCategory( | 33 <iron-icon icon="[[computeIconForContentCategory( |
34 ContentSettingsTypes.GEOLOCATION)]]" item-icon=""></iron-icon> | 34 ContentSettingsTypes.GEOLOCATION)]]"></iron-icon> |
35 <div class="middle"> | 35 <div class="middle"> |
36 [[computeTitleForContentCategory(ContentSettingsTypes.GEOLOCATION)]] | 36 [[computeTitleForContentCategory(ContentSettingsTypes.GEOLOCATION)]] |
37 <div id="geolocation" class="secondary"></div> | 37 <div id="geolocation" class="secondary"></div> |
38 </div> | 38 </div> |
39 </div> | 39 </div> |
40 <div class="settings-box two-line" | 40 <div class="settings-box two-line" |
41 category$="[[ContentSettingsTypes.CAMERA]]" on-tap="onTapCategory"> | 41 category$="[[ContentSettingsTypes.CAMERA]]" on-tap="onTapCategory"> |
42 <iron-icon icon="[[computeIconForContentCategory( | 42 <iron-icon icon="[[computeIconForContentCategory( |
43 ContentSettingsTypes.CAMERA)]]" item-icon=""></iron-icon> | 43 ContentSettingsTypes.CAMERA)]]"></iron-icon> |
44 <div class="middle"> | 44 <div class="middle"> |
45 [[computeTitleForContentCategory(ContentSettingsTypes.CAMERA)]] | 45 [[computeTitleForContentCategory(ContentSettingsTypes.CAMERA)]] |
46 <div id="camera" class="secondary"></div> | 46 <div id="camera" class="secondary"></div> |
47 </div> | 47 </div> |
48 </div> | 48 </div> |
49 <div class="settings-box two-line" category$="[[ContentSettingsTypes.MIC]]" | 49 <div class="settings-box two-line" category$="[[ContentSettingsTypes.MIC]]" |
50 on-tap="onTapCategory"> | 50 on-tap="onTapCategory"> |
51 <iron-icon icon="[[computeIconForContentCategory( | 51 <iron-icon icon="[[computeIconForContentCategory( |
52 ContentSettingsTypes.MIC)]]" item-icon=""></iron-icon> | 52 ContentSettingsTypes.MIC)]]"></iron-icon> |
53 <div class="middle"> | 53 <div class="middle"> |
54 [[computeTitleForContentCategory(ContentSettingsTypes.MIC)]] | 54 [[computeTitleForContentCategory(ContentSettingsTypes.MIC)]] |
55 <div id="mic" class="secondary"></div> | 55 <div id="mic" class="secondary"></div> |
56 </div> | 56 </div> |
57 </div> | 57 </div> |
58 <div class="settings-box two-line" | 58 <div class="settings-box two-line" |
59 category$="[[ContentSettingsTypes.NOTIFICATIONS]]" | 59 category$="[[ContentSettingsTypes.NOTIFICATIONS]]" |
60 on-tap="onTapCategory"> | 60 on-tap="onTapCategory"> |
61 <iron-icon icon="[[computeIconForContentCategory( | 61 <iron-icon icon="[[computeIconForContentCategory( |
62 ContentSettingsTypes.NOTIFICATIONS)]]" item-icon=""></iron-icon> | 62 ContentSettingsTypes.NOTIFICATIONS)]]"></iron-icon> |
63 <div class="middle"> | 63 <div class="middle"> |
64 [[computeTitleForContentCategory(ContentSettingsTypes.NOTIFICATIONS)]] | 64 [[computeTitleForContentCategory(ContentSettingsTypes.NOTIFICATIONS)]] |
65 <div id="notifications" class="secondary"></div> | 65 <div id="notifications" class="secondary"></div> |
66 </div> | 66 </div> |
67 </div> | 67 </div> |
68 <div class="settings-box two-line" | 68 <div class="settings-box two-line" |
69 category$="[[ContentSettingsTypes.JAVASCRIPT]]" | 69 category$="[[ContentSettingsTypes.JAVASCRIPT]]" |
70 on-tap="onTapCategory"> | 70 on-tap="onTapCategory"> |
71 <iron-icon icon="[[computeIconForContentCategory( | 71 <iron-icon icon="[[computeIconForContentCategory( |
72 ContentSettingsTypes.JAVASCRIPT)]]" item-icon=""></iron-icon> | 72 ContentSettingsTypes.JAVASCRIPT)]]"></iron-icon> |
73 <div class="middle"> | 73 <div class="middle"> |
74 [[computeTitleForContentCategory(ContentSettingsTypes.JAVASCRIPT)]] | 74 [[computeTitleForContentCategory(ContentSettingsTypes.JAVASCRIPT)]] |
75 <div id="javascript" class="secondary"></div> | 75 <div id="javascript" class="secondary"></div> |
76 </div> | 76 </div> |
77 </div> | 77 </div> |
78 <div class="settings-box two-line" | 78 <div class="settings-box two-line" |
79 category$="[[ContentSettingsTypes.PLUGINS]]" | 79 category$="[[ContentSettingsTypes.PLUGINS]]" |
80 on-tap="onTapCategory"> | 80 on-tap="onTapCategory"> |
81 <iron-icon icon="[[computeIconForContentCategory( | 81 <iron-icon icon="[[computeIconForContentCategory( |
82 ContentSettingsTypes.PLUGINS)]]" item-icon=""></iron-icon> | 82 ContentSettingsTypes.PLUGINS)]]"></iron-icon> |
83 <div class="middle"> | 83 <div class="middle"> |
84 [[computeTitleForContentCategory(ContentSettingsTypes.PLUGINS)]] | 84 [[computeTitleForContentCategory(ContentSettingsTypes.PLUGINS)]] |
85 <div id="plugins" class="secondary"></div> | 85 <div id="plugins" class="secondary"></div> |
86 </div> | 86 </div> |
87 </div> | 87 </div> |
88 <div class="settings-box two-line" | 88 <div class="settings-box two-line" |
89 category$="[[ContentSettingsTypes.IMAGES]]" on-tap="onTapCategory"> | 89 category$="[[ContentSettingsTypes.IMAGES]]" on-tap="onTapCategory"> |
90 <iron-icon icon="[[computeIconForContentCategory( | 90 <iron-icon icon="[[computeIconForContentCategory( |
91 ContentSettingsTypes.IMAGES)]]" item-icon=""></iron-icon> | 91 ContentSettingsTypes.IMAGES)]]"></iron-icon> |
92 <div class="middle"> | 92 <div class="middle"> |
93 [[computeTitleForContentCategory(ContentSettingsTypes.IMAGES)]] | 93 [[computeTitleForContentCategory(ContentSettingsTypes.IMAGES)]] |
94 <div id="images" class="secondary"></div> | 94 <div id="images" class="secondary"></div> |
95 </div> | 95 </div> |
96 </div> | 96 </div> |
97 <div class="settings-box two-line" | 97 <div class="settings-box two-line" |
98 category$="[[ContentSettingsTypes.POPUPS]]" on-tap="onTapCategory"> | 98 category$="[[ContentSettingsTypes.POPUPS]]" on-tap="onTapCategory"> |
99 <iron-icon icon="[[computeIconForContentCategory( | 99 <iron-icon icon="[[computeIconForContentCategory( |
100 ContentSettingsTypes.POPUPS)]]" item-icon=""></iron-icon> | 100 ContentSettingsTypes.POPUPS)]]"></iron-icon> |
101 <div class="middle"> | 101 <div class="middle"> |
102 [[computeTitleForContentCategory(ContentSettingsTypes.POPUPS)]] | 102 [[computeTitleForContentCategory(ContentSettingsTypes.POPUPS)]] |
103 <div id="popups" class="secondary"></div> | 103 <div id="popups" class="secondary"></div> |
104 </div> | 104 </div> |
105 </div> | 105 </div> |
106 <div class="settings-box two-line" | 106 <div class="settings-box two-line" |
107 category$="[[ContentSettingsTypes.BACKGROUND_SYNC]]" | 107 category$="[[ContentSettingsTypes.BACKGROUND_SYNC]]" |
108 on-tap="onTapCategory"> | 108 on-tap="onTapCategory"> |
109 <iron-icon icon="[[computeIconForContentCategory( | 109 <iron-icon icon="[[computeIconForContentCategory( |
110 ContentSettingsTypes.BACKGROUND_SYNC)]]" item-icon=""></iron-icon> | 110 ContentSettingsTypes.BACKGROUND_SYNC)]]"></iron-icon> |
111 <div class="middle"> | 111 <div class="middle"> |
112 [[computeTitleForContentCategory( | 112 [[computeTitleForContentCategory( |
113 ContentSettingsTypes.BACKGROUND_SYNC)]] | 113 ContentSettingsTypes.BACKGROUND_SYNC)]] |
114 <div id="backgroundSync" class="secondary"></div> | 114 <div id="backgroundSync" class="secondary"></div> |
115 </div> | 115 </div> |
116 </div> | 116 </div> |
117 <div class="settings-box two-line" | 117 <div class="settings-box two-line" |
118 category$="[[ContentSettingsTypes.KEYGEN]]" | 118 category$="[[ContentSettingsTypes.KEYGEN]]" |
119 on-tap="onTapCategory"> | 119 on-tap="onTapCategory"> |
120 <iron-icon icon="[[computeIconForContentCategory( | 120 <iron-icon icon="[[computeIconForContentCategory( |
121 ContentSettingsTypes.KEYGEN)]]" item-icon=""></iron-icon> | 121 ContentSettingsTypes.KEYGEN)]]"></iron-icon> |
122 <div class="middle"> | 122 <div class="middle"> |
123 [[computeTitleForContentCategory( | 123 [[computeTitleForContentCategory( |
124 ContentSettingsTypes.KEYGEN)]] | 124 ContentSettingsTypes.KEYGEN)]] |
125 <div id="keygen" class="secondary"></div> | 125 <div id="keygen" class="secondary"></div> |
126 </div> | 126 </div> |
127 </div> | 127 </div> |
128 <div class="settings-box two-line" | 128 <div class="settings-box two-line" |
129 category$="[[ContentSettingsTypes.AUTOMATIC_DOWNLOADS]]" | 129 category$="[[ContentSettingsTypes.AUTOMATIC_DOWNLOADS]]" |
130 on-tap="onTapCategory"> | 130 on-tap="onTapCategory"> |
131 <iron-icon icon="[[computeIconForContentCategory( | 131 <iron-icon icon="[[computeIconForContentCategory( |
132 ContentSettingsTypes.AUTOMATIC_DOWNLOADS)]]" item-icon=""></iron-icon> | 132 ContentSettingsTypes.AUTOMATIC_DOWNLOADS)]]"></iron-icon> |
133 <div class="middle"> | 133 <div class="middle"> |
134 [[computeTitleForContentCategory( | 134 [[computeTitleForContentCategory( |
135 ContentSettingsTypes.AUTOMATIC_DOWNLOADS)]] | 135 ContentSettingsTypes.AUTOMATIC_DOWNLOADS)]] |
136 <div id="automaticDownloads" class="secondary"></div> | 136 <div id="automaticDownloads" class="secondary"></div> |
137 </div> | 137 </div> |
138 </div> | 138 </div> |
139 <div class="settings-box two-line" | 139 <div class="settings-box two-line" |
140 category$="[[ContentSettingsTypes.UNSANDBOXED_PLUGINS]]" | 140 category$="[[ContentSettingsTypes.UNSANDBOXED_PLUGINS]]" |
141 on-tap="onTapCategory"> | 141 on-tap="onTapCategory"> |
142 <iron-icon icon="[[computeIconForContentCategory( | 142 <iron-icon icon="[[computeIconForContentCategory( |
143 ContentSettingsTypes.UNSANDBOXED_PLUGINS)]]" item-icon=""></iron-icon> | 143 ContentSettingsTypes.UNSANDBOXED_PLUGINS)]]"></iron-icon> |
144 <div class="middle"> | 144 <div class="middle"> |
145 [[computeTitleForContentCategory( | 145 [[computeTitleForContentCategory( |
146 ContentSettingsTypes.UNSANDBOXED_PLUGINS)]] | 146 ContentSettingsTypes.UNSANDBOXED_PLUGINS)]] |
147 <div id="unsandboxedPlugins" class="secondary"></div> | 147 <div id="unsandboxedPlugins" class="secondary"></div> |
148 </div> | 148 </div> |
149 </div> | 149 </div> |
150 <div class="settings-box two-line" | 150 <div class="settings-box two-line" |
151 category$="[[ContentSettingsTypes.PROTOCOL_HANDLERS]]" | 151 category$="[[ContentSettingsTypes.PROTOCOL_HANDLERS]]" |
152 on-tap="onTapCategory"> | 152 on-tap="onTapCategory"> |
153 <iron-icon icon="[[computeIconForContentCategory( | 153 <iron-icon icon="[[computeIconForContentCategory( |
154 ContentSettingsTypes.PROTOCOL_HANDLERS)]]" item-icon=""></iron-icon> | 154 ContentSettingsTypes.PROTOCOL_HANDLERS)]]"></iron-icon> |
155 <div class="middle"> | 155 <div class="middle"> |
156 [[computeTitleForContentCategory( | 156 [[computeTitleForContentCategory( |
157 ContentSettingsTypes.PROTOCOL_HANDLERS)]] | 157 ContentSettingsTypes.PROTOCOL_HANDLERS)]] |
158 <div id="handlers" class="secondary"></div> | 158 <div id="handlers" class="secondary"></div> |
159 </div> | 159 </div> |
160 </div> | 160 </div> |
161 </template> | 161 </template> |
162 <script src="site_settings_page.js"></script> | 162 <script src="site_settings_page.js"></script> |
163 </dom-module> | 163 </dom-module> |
OLD | NEW |