| 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 6bf06cfceae3c81fd2fc39f04c044f68b2fb19a7..1a4ec25fc90891baaa8b0159b7fb0c05eb0b1164 100644
|
| --- a/chrome/browser/resources/settings/site_settings/site_settings_category.js
|
| +++ b/chrome/browser/resources/settings/site_settings/site_settings_category.js
|
| @@ -22,6 +22,14 @@ 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.
|
| @@ -56,6 +64,9 @@ Polymer({
|
|
|
| this.addWebUIListener('contentSettingCategoryChanged',
|
| this.defaultValueForCategoryChanged_.bind(this));
|
| +
|
| + if (this.category == settings.ContentSettingsTypes.COOKIES)
|
| + this.$.cookieControls.hidden = false;
|
| },
|
|
|
| /**
|
|
|