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

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

Issue 2082663003: Site Settings Desktop: Convert cookie controls to distributed node. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_settings_category.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/site_settings_category.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_category.js b/chrome/browser/resources/settings/site_settings/site_settings_category.js
index f79344dd1b39f111cf4396b7963305b6f74996d3..e4649c07ffcef57885eda0d477ec9c5cc3c86dbe 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_category.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_category.js
@@ -22,14 +22,6 @@ Polymer({
},
/**
- * Preferences state.
- */
- prefs: {
- type: Object,
- notify: true,
- },
-
- /**
* Represents the state of the main toggle shown for the category. For
* example, the Location category can be set to Block/Ask so false, in that
* case, represents Block and true represents Ask.
@@ -64,9 +56,6 @@ Polymer({
this.addWebUIListener('contentSettingCategoryChanged',
this.defaultValueForCategoryChanged_.bind(this));
-
- if (this.category == settings.ContentSettingsTypes.COOKIES)
- this.$.cookieControls.hidden = false;
},
/**
« no previous file with comments | « chrome/browser/resources/settings/site_settings/site_settings_category.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698