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

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

Issue 2689303002: MD Settings: Content Settings: Support guest mode. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/i18n_behavior.html"> 3 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> 4 <link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
5 <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/iron-flex-layout/iron-f lex-layout-classes.html">
6 <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/neon-animation/neon-ani matable.html">
7 <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-button/paper-butt on.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
9 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html"> 9 <link rel="import" href="../clear_browsing_data_dialog/clear_browsing_data_dialo g.html">
10 <link rel="import" href="../controls/settings_toggle_button.html"> 10 <link rel="import" href="../controls/settings_toggle_button.html">
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 <site-data-details-subpage page-title="{{pageTitle}}"> 412 <site-data-details-subpage page-title="{{pageTitle}}">
413 </site-data-details-subpage> 413 </site-data-details-subpage>
414 </settings-subpage> 414 </settings-subpage>
415 </template> 415 </template>
416 <template is="dom-if" route-path="/content/protectedContent" no-search> 416 <template is="dom-if" route-path="/content/protectedContent" no-search>
417 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}"> 417 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
418 <div class="settings-box first"> 418 <div class="settings-box first">
419 <settings-toggle-button class="start" 419 <settings-toggle-button class="start"
420 pref="{{prefs.webkit.webprefs.encrypted_media_enabled}}" 420 pref="{{prefs.webkit.webprefs.encrypted_media_enabled}}"
421 label="[[getProtectedContentLabel_( 421 label="[[getProtectedContentLabel_(
422 prefs.webkit.webprefs.encrypted_media_enabled.value)]]"> 422 prefs.webkit.webprefs.encrypted_media_enabled.value)]]"
423 disabled$="[[isGuest_]]">
423 </settings-toggle-button> 424 </settings-toggle-button>
424 </div> 425 </div>
425 <if expr="chromeos or is_win"> 426 <if expr="chromeos or is_win">
426 <div class="settings-box first two-line"> 427 <div class="settings-box first two-line">
427 $i18n{siteSettingsProtectedContentIdentifiersExplanation} 428 $i18n{siteSettingsProtectedContentIdentifiersExplanation}
428 </div> 429 </div>
429 <div class="settings-box first"> 430 <div class="settings-box first">
430 <settings-toggle-button class="start" 431 <settings-toggle-button class="start"
431 pref="{{prefs.settings.privacy.drm_enabled}}" 432 pref="{{prefs.settings.privacy.drm_enabled}}"
432 label="[[getProtectedContentIdentifiersLabel_( 433 label="[[getProtectedContentIdentifiersLabel_(
433 prefs.settings.privacy.drm_enabled.value)]]"> 434 prefs.settings.privacy.drm_enabled.value)]]"
435 disabled$="[[isGuest_]]">
434 </settings-toggle-button> 436 </settings-toggle-button>
435 </div> 437 </div>
436 </if> 438 </if>
437 <if expr="chromeos"> 439 <if expr="chromeos">
438 <template is="dom-if" 440 <template is="dom-if"
439 if="[[prefs.settings.privacy.drm_enabled.value]]"> 441 if="[[prefs.settings.privacy.drm_enabled.value]]">
440 <category-setting-exceptions 442 <category-setting-exceptions
441 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 443 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
442 </category-setting-exceptions> 444 </category-setting-exceptions>
443 </template> 445 </template>
444 </if> 446 </if>
445 </settings-subpage> 447 </settings-subpage>
446 </template> 448 </template>
447 </settings-animated-pages> 449 </settings-animated-pages>
448 </template> 450 </template>
449 <script src="privacy_page.js"></script> 451 <script src="privacy_page.js"></script>
450 </dom-module> 452 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698