| OLD | NEW |
| (Empty) |
| 1 <div id="content-settings-page" class="page" hidden> | |
| 2 <div class="close-button"></div> | |
| 3 <h1 i18n-content="contentSettingsPage"></h1> | |
| 4 <div class="content-area"> | |
| 5 <!-- Cookie filter tab contents --> | |
| 6 <section> | |
| 7 <h3 i18n-content="cookies_tab_label"></h3> | |
| 8 <div> | |
| 9 <div class="radio"> | |
| 10 <label> | |
| 11 <input type="radio" name="cookies" value="allow"> | |
| 12 <span i18n-content="cookies_allow"></span> | |
| 13 </label> | |
| 14 </div> | |
| 15 <div class="radio"> | |
| 16 <label> | |
| 17 <input type="radio" name="cookies" value="session"> | |
| 18 <span i18n-content="cookies_session_only"></span> | |
| 19 </label> | |
| 20 </div> | |
| 21 <div class="radio"> | |
| 22 <label> | |
| 23 <input type="radio" name="cookies" value="block"> | |
| 24 <span i18n-content="cookies_block"></span> | |
| 25 </label> | |
| 26 </div> | |
| 27 <div class="checkbox"> | |
| 28 <label> | |
| 29 <input pref="profile.block_third_party_cookies" type="checkbox"> | |
| 30 <span i18n-content="cookies_block_3rd_party"></span> | |
| 31 </label> | |
| 32 </div> | |
| 33 <!-- TODO(jochen): remove the div with the clear cookies on exit option | |
| 34 once this has shipped. --> | |
| 35 <div class="checkbox" guest-visibility="disabled" hidden> | |
| 36 <label> | |
| 37 <input id="clear-cookies-on-exit" | |
| 38 pref="profile.clear_site_data_on_exit" type="checkbox"> | |
| 39 <span i18n-content="cookies_lso_clear_when_close" | |
| 40 class="clear-plugin-lso-data-enabled"></span> | |
| 41 <span i18n-content="cookies_clear_when_close" | |
| 42 class="clear-plugin-lso-data-disabled"></span> | |
| 43 </label> | |
| 44 </div> | |
| 45 <div class="settings-row"> | |
| 46 <button class="exceptions-list-button" contentType="cookies" | |
| 47 i18n-content="manage_exceptions"></button> | |
| 48 <button id="show-cookies-button" | |
| 49 i18n-content="cookies_show_cookies"></button> | |
| 50 <button id="show-app-cookies-button" | |
| 51 i18n-content="cookies_show_app_cookies"></button> | |
| 52 </div> | |
| 53 </div> | |
| 54 </section> | |
| 55 <!-- Image filter --> | |
| 56 <section> | |
| 57 <h3 i18n-content="images_tab_label"></h3> | |
| 58 <div> | |
| 59 <div class="radio"> | |
| 60 <label> | |
| 61 <input type="radio" name="images" value="allow"> | |
| 62 <span i18n-content="images_allow"></span> | |
| 63 </label> | |
| 64 </div> | |
| 65 <div class="radio"> | |
| 66 <label> | |
| 67 <input type="radio" name="images" value="block"> | |
| 68 <span i18n-content="images_block"></span> | |
| 69 </label> | |
| 70 </div> | |
| 71 <div class="settings-row"> | |
| 72 <button class="exceptions-list-button" contentType="images" | |
| 73 i18n-content="manage_exceptions"></button> | |
| 74 </div> | |
| 75 </div> | |
| 76 </section> | |
| 77 <!-- JavaScript filter --> | |
| 78 <section> | |
| 79 <h3 i18n-content="javascript_tab_label"></h3> | |
| 80 <div> | |
| 81 <div class="radio"> | |
| 82 <label> | |
| 83 <input type="radio" name="javascript" value="allow"> | |
| 84 <span i18n-content="javascript_allow"></span> | |
| 85 </label> | |
| 86 </div> | |
| 87 <div class="radio"> | |
| 88 <label> | |
| 89 <input type="radio" name="javascript" value="block"> | |
| 90 <span i18n-content="javascript_block"></span> | |
| 91 </label> | |
| 92 </div> | |
| 93 <div class="settings-row"> | |
| 94 <button class="exceptions-list-button" contentType="javascript" | |
| 95 i18n-content="manage_exceptions"></button> | |
| 96 </div> | |
| 97 </div> | |
| 98 </section> | |
| 99 <!-- Handlers settings --> | |
| 100 <section id="handlers-section"> | |
| 101 <h3 i18n-content="handlers_tab_label"></h3> | |
| 102 <div> | |
| 103 <div class="radio"> | |
| 104 <label> | |
| 105 <input type="radio" name="handlers" value="allow" | |
| 106 class="handler-radio"> | |
| 107 <span i18n-content="handlers_allow"></span> | |
| 108 </label> | |
| 109 </div> | |
| 110 <div class="radio"> | |
| 111 <label> | |
| 112 <input type="radio" name="handlers" value="block" | |
| 113 class="handler-radio"> | |
| 114 <span i18n-content="handlers_block"></span> | |
| 115 </label> | |
| 116 </div> | |
| 117 <div class="settings-row"> | |
| 118 <button id="manage-handlers-button" contentType="handlers" | |
| 119 i18n-content="manage_handlers"></button> | |
| 120 </div> | |
| 121 </div> | |
| 122 </section> | |
| 123 <!-- Plug-ins filter --> | |
| 124 <section> | |
| 125 <h3 i18n-content="plugins_tab_label"></h3> | |
| 126 <div> | |
| 127 <div class="radio"> | |
| 128 <label> | |
| 129 <input type="radio" name="plugins" value="allow"> | |
| 130 <span i18n-content="plugins_allow"></span> | |
| 131 </label> | |
| 132 </div> | |
| 133 <div id="click_to_play" class="radio"> | |
| 134 <label> | |
| 135 <input type="radio" name="plugins" value="ask"> | |
| 136 <span i18n-content="plugins_ask"></span> | |
| 137 </label> | |
| 138 </div> | |
| 139 <div class="radio"> | |
| 140 <label> | |
| 141 <input type="radio" name="plugins" value="block"> | |
| 142 <span i18n-content="plugins_block"></span> | |
| 143 </label> | |
| 144 </div> | |
| 145 <div class="settings-row"> | |
| 146 <button class="exceptions-list-button" contentType="plugins" | |
| 147 i18n-content="manage_exceptions"></button> | |
| 148 </div> | |
| 149 <div id="disable-plugins-container"> | |
| 150 <a href="chrome://plugins" i18n-content="disableIndividualPlugins" | |
| 151 target="_blank"></a> | |
| 152 </div> | |
| 153 </div> | |
| 154 </section> | |
| 155 <!-- Pop-ups filter --> | |
| 156 <section> | |
| 157 <h3 i18n-content="popups_tab_label" class="content-settings-header"></h3> | |
| 158 <div> | |
| 159 <div class="radio"> | |
| 160 <label> | |
| 161 <input type="radio" name="popups" value="allow"> | |
| 162 <span i18n-content="popups_allow"></span> | |
| 163 </label> | |
| 164 </div> | |
| 165 <div class="radio"> | |
| 166 <label> | |
| 167 <input type="radio" name="popups" value="block"> | |
| 168 <span i18n-content="popups_block"></span> | |
| 169 </label> | |
| 170 </div> | |
| 171 <div class="settings-row"> | |
| 172 <button class="exceptions-list-button" contentType="popups" | |
| 173 i18n-content="manage_exceptions"></button> | |
| 174 </div> | |
| 175 </div> | |
| 176 </section> | |
| 177 <!-- Location filter --> | |
| 178 <section> | |
| 179 <h3 i18n-content="location_tab_label"></h3> | |
| 180 <div> | |
| 181 <div class="radio"> | |
| 182 <label> | |
| 183 <input type="radio" name="location" value="allow"> | |
| 184 <span i18n-content="location_allow"></span> | |
| 185 </label> | |
| 186 </div> | |
| 187 <div class="radio"> | |
| 188 <label> | |
| 189 <input type="radio" name="location" value="ask"> | |
| 190 <span i18n-content="location_ask"></span> | |
| 191 </label> | |
| 192 </div> | |
| 193 <div class="radio"> | |
| 194 <label> | |
| 195 <input type="radio" name="location" value="block"> | |
| 196 <span i18n-content="location_block"></span> | |
| 197 </label> | |
| 198 </div> | |
| 199 <div class="settings-row"> | |
| 200 <button class="exceptions-list-button" contentType="location" | |
| 201 i18n-content="manage_exceptions"></button> | |
| 202 </div> | |
| 203 </div> | |
| 204 </section> | |
| 205 <!-- Notifications filter tab contents --> | |
| 206 <section> | |
| 207 <h3 i18n-content="notifications_tab_label"></h3> | |
| 208 <div> | |
| 209 <div class="radio"> | |
| 210 <label> | |
| 211 <input type="radio" name="notifications" value="allow"> | |
| 212 <span i18n-content="notifications_allow"></span> | |
| 213 </label> | |
| 214 </div> | |
| 215 <div class="radio"> | |
| 216 <label> | |
| 217 <input type="radio" name="notifications" value="ask"> | |
| 218 <span i18n-content="notifications_ask"></span> | |
| 219 </label> | |
| 220 </div> | |
| 221 <div class="radio"> | |
| 222 <label> | |
| 223 <input type="radio" name="notifications" value="block"> | |
| 224 <span i18n-content="notifications_block"></span> | |
| 225 </label> | |
| 226 </div> | |
| 227 <div class="settings-row"> | |
| 228 <button class="exceptions-list-button" contentType="notifications" | |
| 229 i18n-content="manage_exceptions"></button> | |
| 230 </div> | |
| 231 </div> | |
| 232 </section> | |
| 233 <!-- Fullscreen filter --> | |
| 234 <section> | |
| 235 <h3 i18n-content="fullscreen_tab_label"></h3> | |
| 236 <div class="settings-row"> | |
| 237 <button class="exceptions-list-button" contentType="fullscreen" | |
| 238 i18n-content="manage_exceptions"></button> | |
| 239 </div> | |
| 240 </section> | |
| 241 <!-- Mouse Lock filter --> | |
| 242 <section> | |
| 243 <h3 i18n-content="mouselock_tab_label"></h3> | |
| 244 <div> | |
| 245 <div class="radio"> | |
| 246 <label> | |
| 247 <input type="radio" name="mouselock" value="allow"> | |
| 248 <span i18n-content="mouselock_allow"></span> | |
| 249 </label> | |
| 250 </div> | |
| 251 <div class="radio"> | |
| 252 <label> | |
| 253 <input type="radio" name="mouselock" value="ask"> | |
| 254 <span i18n-content="mouselock_ask"></span> | |
| 255 </label> | |
| 256 </div> | |
| 257 <div class="radio"> | |
| 258 <label> | |
| 259 <input type="radio" name="mouselock" value="block"> | |
| 260 <span i18n-content="mouselock_block"></span> | |
| 261 </label> | |
| 262 </div> | |
| 263 <div class="settings-row"> | |
| 264 <button class="exceptions-list-button" contentType="mouselock" | |
| 265 i18n-content="manage_exceptions"></button> | |
| 266 </div> | |
| 267 </div> | |
| 268 </section> | |
| 269 <!-- Intent registration filter --> | |
| 270 <section> | |
| 271 <h3 i18n-content="webIntentsTabLabel" class="content-settings-header"> | |
| 272 </h3> | |
| 273 <div class="checkbox"> | |
| 274 <label> | |
| 275 <input pref="webintents.enabled" type="checkbox"> | |
| 276 <span i18n-content="allowWebIntents"></span> | |
| 277 </label> | |
| 278 </div> | |
| 279 </section> | |
| 280 <!-- Pepper Flash camera and microphone filter --> | |
| 281 <section id="pepper-flash-cameramic-section" class="pepper-flash-settings"> | |
| 282 <h3 i18n-content="pepperFlashCameramicTabLabel"></h3> | |
| 283 <div> | |
| 284 <div class="radio"> | |
| 285 <label> | |
| 286 <input type="radio" name="pepper-flash-cameramic" value="ask"> | |
| 287 <span i18n-content="pepperFlashCameramicAsk"></span> | |
| 288 </label> | |
| 289 </div> | |
| 290 <div class="radio"> | |
| 291 <label> | |
| 292 <input type="radio" name="pepper-flash-cameramic" value="block"> | |
| 293 <span i18n-content="pepperFlashCameramicBlock"></span> | |
| 294 </label> | |
| 295 </div> | |
| 296 <div class="settings-row"> | |
| 297 <button class="exceptions-list-button" | |
| 298 contentType="pepper-flash-cameramic" | |
| 299 i18n-content="manage_exceptions"></button> | |
| 300 </div> | |
| 301 </div> | |
| 302 </section> | |
| 303 <if expr="pp_ifdef('chromeos')"> | |
| 304 <!-- Protected Content filter --> | |
| 305 <section guest-visibility="disabled"> | |
| 306 <h3 i18n-content="protectedContentTabLabel" | |
| 307 class="content-settings-header"></h3> | |
| 308 <div> | |
| 309 <div class="settings-row"> | |
| 310 <span i18n-content="protectedContentInfo"></span> | |
| 311 </div> | |
| 312 <div class="checkbox"> | |
| 313 <label> | |
| 314 <input pref="settings.privacy.drm_enabled" type="checkbox"> | |
| 315 <span i18n-content="protectedContentEnable"></span> | |
| 316 </label> | |
| 317 </div> | |
| 318 </div> | |
| 319 </section> | |
| 320 </if> | |
| 321 <!-- Media Stream capture device filter --> | |
| 322 <section> | |
| 323 <h3 i18n-content="mediaStreamTabLabel"></h3> | |
| 324 <div> | |
| 325 <div class="radio"> | |
| 326 <label> | |
| 327 <input type="radio" name="media-stream" value="ask"> | |
| 328 <span i18n-content="mediaStreamAsk"></span> | |
| 329 </label> | |
| 330 </div> | |
| 331 <div class="radio"> | |
| 332 <label> | |
| 333 <input type="radio" name="media-stream" value="block"> | |
| 334 <span i18n-content="mediaStreamBlock"></span> | |
| 335 </label> | |
| 336 </div> | |
| 337 <div class="settings-row"> | |
| 338 <button class="exceptions-list-button" contentType="media-stream" | |
| 339 i18n-content="manage_exceptions"></button> | |
| 340 </div> | |
| 341 </div> | |
| 342 </section> | |
| 343 <section id="media-galleries-section" hidden> | |
| 344 <h3 i18n-content="mediaGalleriesSectionLabel"></h3> | |
| 345 <div class="settings-row"> | |
| 346 <button id="manage-galleries-button" | |
| 347 i18n-content="manageGalleriesButton"></button> | |
| 348 </div> | |
| 349 </section> | |
| 350 </div> | |
| 351 <div class="action-area"> | |
| 352 <div class="button-strip"> | |
| 353 <button id="content-settings-overlay-confirm" i18n-content="ok"></button> | |
| 354 </div> | |
| 355 </div> | |
| 356 </div> | |
| OLD | NEW |