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

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

Issue 2762823002: MD Settings: minor cleanup of content settings code. (Closed)
Patch Set: fixes based on comments 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/category_default_setting.html » ('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/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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 <category-setting-exceptions 265 <category-setting-exceptions
266 category="{{ContentSettingsTypes.CAMERA}}" read-only-list> 266 category="{{ContentSettingsTypes.CAMERA}}" read-only-list>
267 </category-setting-exceptions> 267 </category-setting-exceptions>
268 </settings-subpage> 268 </settings-subpage>
269 </template> 269 </template>
270 <template is="dom-if" route-path="/content/cookies" no-search> 270 <template is="dom-if" route-path="/content/cookies" no-search>
271 <settings-subpage page-title="$i18n{siteSettingsCategoryCookies}"> 271 <settings-subpage page-title="$i18n{siteSettingsCategoryCookies}">
272 <category-default-setting category="{{ContentSettingsTypes.COOKIES}}" 272 <category-default-setting category="{{ContentSettingsTypes.COOKIES}}"
273 toggle-off-label="$i18n{siteSettingsBlocked}" 273 toggle-off-label="$i18n{siteSettingsBlocked}"
274 toggle-on-label="$i18n{siteSettingsCookiesAllowedRecommended}" 274 toggle-on-label="$i18n{siteSettingsCookiesAllowedRecommended}"
275 sub-option-label="$i18n{deleteDataPostSession}" 275 sub-option-label="$i18n{deleteDataPostSession}">
276 sub-option-secondary=""><!-- To work with :empty. -->
277 </category-default-setting> 276 </category-default-setting>
278 <div class="settings-box"> 277 <div class="settings-box two-line">
279 <settings-toggle-button class="start" 278 <settings-toggle-button class="start"
280 pref="{{prefs.profile.block_third_party_cookies}}" 279 pref="{{prefs.profile.block_third_party_cookies}}"
281 label="$i18n{thirdPartyCookie}" 280 label="$i18n{thirdPartyCookie}"
282 sub-label="$i18n{thirdPartyCookieSublabel}"> 281 sub-label="$i18n{thirdPartyCookieSublabel}">
283 </settings-toggle-button> 282 </settings-toggle-button>
284 </div> 283 </div>
285 <category-setting-exceptions 284 <category-setting-exceptions
286 category="{{ContentSettingsTypes.COOKIES}}"> 285 category="{{ContentSettingsTypes.COOKIES}}">
287 </category-setting-exceptions> 286 </category-setting-exceptions>
288 <site-data></site-data> 287 <site-data></site-data>
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 <usb-devices></usb-devices> 428 <usb-devices></usb-devices>
430 </settings-subpage> 429 </settings-subpage>
431 </template> 430 </template>
432 <template is="dom-if" route-path="/content/siteDetails" no-search> 431 <template is="dom-if" route-path="/content/siteDetails" no-search>
433 <settings-subpage page-title="$i18n{siteSettingsSiteDetails}"> 432 <settings-subpage page-title="$i18n{siteSettingsSiteDetails}">
434 <site-details></site-details> 433 <site-details></site-details>
435 </settings-subpage> 434 </settings-subpage>
436 </template> 435 </template>
437 <template is="dom-if" route-path="/cookies/detail" no-search> 436 <template is="dom-if" route-path="/cookies/detail" no-search>
438 <settings-subpage page-title="[[pageTitle]]"> 437 <settings-subpage page-title="[[pageTitle]]">
439 <paper-button class="subpage-title-extra" 438 <paper-button class="subpage-title-extra secondary-button"
440 on-tap="onRemoveAllCookiesFromSite_"> 439 on-tap="onRemoveAllCookiesFromSite_">
441 $i18n{siteSettingsCookieRemoveAll} 440 $i18n{siteSettingsCookieRemoveAll}
442 </paper-button> 441 </paper-button>
443 <site-data-details-subpage page-title="{{pageTitle}}"> 442 <site-data-details-subpage page-title="{{pageTitle}}">
444 </site-data-details-subpage> 443 </site-data-details-subpage>
445 </settings-subpage> 444 </settings-subpage>
446 </template> 445 </template>
447 <template is="dom-if" route-path="/content/protectedContent" no-search> 446 <template is="dom-if" route-path="/content/protectedContent" no-search>
448 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}"> 447 <settings-subpage page-title="$i18n{siteSettingsProtectedContent}">
449 <div class="settings-box first"> 448 <div class="settings-box first">
(...skipping 24 matching lines...) Expand all
474 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}"> 473 category="{{ContentSettingsTypes.PROTECTED_CONTENT}}">
475 </category-setting-exceptions> 474 </category-setting-exceptions>
476 </template> 475 </template>
477 </if> 476 </if>
478 </settings-subpage> 477 </settings-subpage>
479 </template> 478 </template>
480 </settings-animated-pages> 479 </settings-animated-pages>
481 </template> 480 </template>
482 <script src="privacy_page.js"></script> 481 <script src="privacy_page.js"></script>
483 </dom-module> 482 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/category_default_setting.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698