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

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

Issue 2673783002: MD Settings: Add Protected Content toggle to Site Settings (Closed)
Patch Set: new and alan approved Created 3 years, 10 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/policy/cr_policy_vars_cs s.html"> 2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_vars_cs s.html">
3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 3 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
8 <link rel="import" href="/clear_browsing_data_dialog/clear_browsing_data_dialog. html"> 8 <link rel="import" href="/clear_browsing_data_dialog/clear_browsing_data_dialog. html">
9 <link rel="import" href="/controls/settings_toggle_button.html"> 9 <link rel="import" href="/controls/settings_toggle_button.html">
10 <link rel="import" href="/lifetime_browser_proxy.html"> 10 <link rel="import" href="/lifetime_browser_proxy.html">
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 <template is="dom-if" route-path="/cookies/detail" no-search> 430 <template is="dom-if" route-path="/cookies/detail" no-search>
431 <settings-subpage page-title="[[pageTitle]]"> 431 <settings-subpage page-title="[[pageTitle]]">
432 <paper-button class="subpage-title-extra" 432 <paper-button class="subpage-title-extra"
433 on-tap="onRemoveAllCookiesFromSite_"> 433 on-tap="onRemoveAllCookiesFromSite_">
434 $i18n{siteSettingsCookieRemoveAll} 434 $i18n{siteSettingsCookieRemoveAll}
435 </paper-button> 435 </paper-button>
436 <site-data-details-subpage page-title="{{pageTitle}}"> 436 <site-data-details-subpage page-title="{{pageTitle}}">
437 </site-data-details-subpage> 437 </site-data-details-subpage>
438 </settings-subpage> 438 </settings-subpage>
439 </template> 439 </template>
440 <if expr="chromeos or is_win">
441 <template is="dom-if" route-path="/content/protectedContent">
442 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
dpapad 2017/02/03 22:03:14 I think this blows up searching. Every subpage is
tommycli 2017/02/03 22:09:15 Done. I added a no-search attribute like the other
443 <div class="settings-box first">
444 <settings-toggle-button class="start"
445 pref="{{prefs.settings.privacy.drm_enabled}}"
446 label="$i18n{siteSettingsProtectedContentEnable}">
447 </settings-toggle-button>
448 </div>
449 </settings-subpage>
450 </template>
451 </if>
440 </settings-animated-pages> 452 </settings-animated-pages>
441 </template> 453 </template>
442 <script src="privacy_page.js"></script> 454 <script src="privacy_page.js"></script>
443 </dom-module> 455 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/settings_private/prefs_util.cc ('k') | chrome/browser/resources/settings/route.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698