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

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

Issue 2677413002: MD Settings: Make Protected Content toggle change label text on toggle (Closed)
Patch Set: 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_dialo g.html"> 8 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 <site-data-details-subpage page-title="{{pageTitle}}"> 437 <site-data-details-subpage page-title="{{pageTitle}}">
438 </site-data-details-subpage> 438 </site-data-details-subpage>
439 </settings-subpage> 439 </settings-subpage>
440 </template> 440 </template>
441 <if expr="chromeos or is_win"> 441 <if expr="chromeos or is_win">
442 <template is="dom-if" route-path="/content/protectedContent" no-search> 442 <template is="dom-if" route-path="/content/protectedContent" no-search>
443 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}"> 443 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
444 <div class="settings-box first"> 444 <div class="settings-box first">
445 <settings-toggle-button class="start" 445 <settings-toggle-button class="start"
446 pref="{{prefs.settings.privacy.drm_enabled}}" 446 pref="{{prefs.settings.privacy.drm_enabled}}"
447 label="$i18n{siteSettingsProtectedContentEnable}"> 447 label="[[getStringTernary_(
448 prefs.settings.privacy.drm_enabled.value,
449 '$i18n{siteSettingsProtectedContentEnable}',
450 '$i18n{siteSettingsBlocked}')]]">
dschuyler 2017/02/07 21:46:31 I'll want to change these to $i18nStr{} after this
tommycli 2017/02/07 22:00:07 Done.
448 </settings-toggle-button> 451 </settings-toggle-button>
449 </div> 452 </div>
450 </settings-subpage> 453 </settings-subpage>
451 </template> 454 </template>
452 </if> 455 </if>
453 </settings-animated-pages> 456 </settings-animated-pages>
454 </template> 457 </template>
455 <script src="privacy_page.js"></script> 458 <script src="privacy_page.js"></script>
456 </dom-module> 459 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698