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

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_category.html

Issue 2509163004: [MD settings] content category policy (Closed)
Patch Set: enum Created 4 years, 1 month 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/site_settings/site_settings_category.html
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_category.html b/chrome/browser/resources/settings/site_settings/site_settings_category.html
index 2bfd9000cb9c428f6b7a9d1d7a39555ac571e47b..c33f2b016d4ac48c0bf0511aae467dae969095d5 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_category.html
+++ b/chrome/browser/resources/settings/site_settings/site_settings_category.html
@@ -1,6 +1,7 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/paper-toggle-button.html">
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html">
+<link rel="import" href="/controls/settings_toggle_button.html">
<link rel="import" href="/settings_shared_css.html">
<link rel="import" href="/site_settings/constants.html">
<link rel="import" href="/site_settings/site_details.html">
@@ -27,8 +28,9 @@
<div class="settings-box first two-line">
<div class="start secondary">[[sliderDescription_]]</div>
- <paper-toggle-button id="toggle" checked="{{categoryEnabled}}"
- on-change="onChangePermissionControl_"></paper-toggle-button>
+ <settings-toggle-button id="toggle" checked="{{categoryEnabled}}"
+ on-change="onChangePermissionControl_" pref="{{fakePref_}}">
+ </settings-toggle-button>
</div>
<template is="dom-if" if="[[isCookiesCategory_(category)]]">

Powered by Google App Engine
This is Rietveld 408576698