Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: chrome/browser/resources/settings/privacy_page/privacy_page.html

Issue 2682293002: Add desktop UI for the subresource filter content setting. (Closed)
Patch Set: cs_ui Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> 2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html"> 3 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html">
4 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 5 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
10 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html"> 10 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html">
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 <settings-subpage page-title="$i18n{siteSettingsCategoryPopups}"> 390 <settings-subpage page-title="$i18n{siteSettingsCategoryPopups}">
391 <category-default-setting category="{{ContentSettingsTypes.POPUPS}}" 391 <category-default-setting category="{{ContentSettingsTypes.POPUPS}}"
392 toggle-off-label="$i18n{siteSettingsBlockedRecommended}" 392 toggle-off-label="$i18n{siteSettingsBlockedRecommended}"
393 toggle-on-label="$i18n{siteSettingsAllowed}"> 393 toggle-on-label="$i18n{siteSettingsAllowed}">
394 </category-default-setting> 394 </category-default-setting>
395 <category-setting-exceptions 395 <category-setting-exceptions
396 category="{{ContentSettingsTypes.POPUPS}}"> 396 category="{{ContentSettingsTypes.POPUPS}}">
397 </category-setting-exceptions> 397 </category-setting-exceptions>
398 </settings-subpage> 398 </settings-subpage>
399 </template> 399 </template>
400 <template is="dom-if" route-path="/content/unsandboxedPlugins" no-search> 400 <template is="dom-if" if="[[enableSafeBrowsingSubresourceFilter_]]"
401 route-path="/content/subresourceFilter" no-search>
402 <settings-subpage page-title="$i18n{siteSettingsSubresourceFilter}">
403 <category-default-setting
404 category="{{ContentSettingsTypes.SUBRESOURCE_FILTER}}"
405 toggle-off-label="$i18n{siteSettingsSubresourceFilterAllow}"
406 toggle-on-label="$i18n{siteSettingsSubresourceFilterBlock}">
407 </category-default-setting>
408 <category-setting-exceptions
409 category="{{ContentSettingsTypes.SUBRESOURCE_FITER}}">
Charlie Harrison 2017/04/28 23:23:02 Looks like SUBRESOURCE_FILTER is misspelled here?
dschuyler 2017/04/28 23:40:03 I agree, I'll make a fix for this. https://codere
410 </category-setting-exceptions>
411 </settings-subpage>
412 </template>
413 <template is="dom-if" route-path="/content/unsandboxedPlugins" no-search>
401 <settings-subpage page-title="$i18n{siteSettingsUnsandboxedPlugins}"> 414 <settings-subpage page-title="$i18n{siteSettingsUnsandboxedPlugins}">
402 <category-default-setting 415 <category-default-setting
403 toggle-off-label="$i18n{siteSettingsUnsandboxedPluginsBlock}" 416 toggle-off-label="$i18n{siteSettingsUnsandboxedPluginsBlock}"
404 toggle-on-label= 417 toggle-on-label=
405 "$i18n{siteSettingsUnsandboxedPluginsAskRecommended}" 418 "$i18n{siteSettingsUnsandboxedPluginsAskRecommended}"
406 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}"> 419 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}">
407 </category-default-setting> 420 </category-default-setting>
408 <category-setting-exceptions 421 <category-setting-exceptions
409 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}"> 422 category="{{ContentSettingsTypes.UNSANDBOXED_PLUGINS}}">
410 </category-setting-exceptions> 423 </category-setting-exceptions>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 486 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
474 </category-setting-exceptions> 487 </category-setting-exceptions>
475 </template> 488 </template>
476 </if> 489 </if>
477 </settings-subpage> 490 </settings-subpage>
478 </template> 491 </template>
479 </settings-animated-pages> 492 </settings-animated-pages>
480 </template> 493 </template>
481 <script src="privacy_page.js"></script> 494 <script src="privacy_page.js"></script>
482 </dom-module> 495 </dom-module>
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698