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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.html

Issue 2762823002: MD Settings: minor cleanup of content settings code. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/privacy_page/privacy_page.html
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
index 4cf04ab572baa4366645b404ca15219b2ce01015..a3d93f45b2348912eaed32e8c19a2863650e37eb 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -272,10 +272,9 @@
<category-default-setting category="{{ContentSettingsTypes.COOKIES}}"
toggle-off-label="$i18n{siteSettingsBlocked}"
toggle-on-label="$i18n{siteSettingsCookiesAllowedRecommended}"
- sub-option-label="$i18n{deleteDataPostSession}"
- sub-option-secondary=""><!-- To work with :empty. -->
+ sub-option-label="$i18n{deleteDataPostSession}">
</category-default-setting>
- <div class="settings-box">
+ <div class="settings-box two-line">
<settings-toggle-button class="start"
pref="{{prefs.profile.block_third_party_cookies}}"
label="$i18n{thirdPartyCookie}"
@@ -436,7 +435,7 @@
</template>
<template is="dom-if" route-path="/cookies/detail" no-search>
<settings-subpage page-title="[[pageTitle]]">
- <paper-button class="subpage-title-extra"
+ <paper-button class="subpage-title-extra secondary-button"
on-tap="onRemoveAllCookiesFromSite_">
$i18n{siteSettingsCookieRemoveAll}
</paper-button>
@@ -447,7 +446,7 @@
<template is="dom-if" route-path="/content/protectedContent" no-search>
<settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
<div class="settings-box first">
- <settings-toggle-button class="start"
+ <settings-toggle-button class="start primary-toggle"
dschuyler 2017/03/22 20:30:57 Sorry, where is primary-toggle defined?
scottchen 2017/03/23 00:13:58 linked in previous reply.
pref="{{prefs.webkit.webprefs.encrypted_media_enabled}}"
label="[[getProtectedContentLabel_(
prefs.webkit.webprefs.encrypted_media_enabled.value)]]"
@@ -459,7 +458,7 @@
$i18n{siteSettingsProtectedContentIdentifiersExplanation}
</div>
<div class="settings-box first">
- <settings-toggle-button class="start"
+ <settings-toggle-button class="start primary-toggle"
pref="{{prefs.settings.privacy.drm_enabled}}"
label="[[getProtectedContentIdentifiersLabel_(
prefs.settings.privacy.drm_enabled.value)]]"

Powered by Google App Engine
This is Rietveld 408576698