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

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

Issue 2744583004: MD Settings: For some content types, make per-site exceptions read-only. (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/site_settings/category_setting_exceptions.html
diff --git a/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html b/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html
index 3fe8e0f1f0a7dbf1446d4b352308c67de195ff23..02143c7969d483f1cdda01293b69e4cd81985d28 100644
--- a/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html
+++ b/chrome/browser/resources/settings/site_settings/category_setting_exceptions.html
@@ -17,17 +17,20 @@
<site-list
category="[[category]]"
category-subtype="[[PermissionValues.BLOCK]]"
- category-header="$i18n{siteSettingsBlock}">
+ category-header="$i18n{siteSettingsBlock}"
+ read-only-list="[[readOnlyList]]">
</site-list>
<site-list
category="[[category]]"
category-subtype="[[PermissionValues.SESSION_ONLY]]"
- category-header="$i18n{siteSettingsSessionOnly}">
+ category-header="$i18n{siteSettingsSessionOnly}"
+ read-only-list="[[readOnlyList]]">
</site-list>
<site-list
category="[[category]]"
category-subtype="[[PermissionValues.ALLOW]]"
- category-header="$i18n{siteSettingsAllow}">
+ category-header="$i18n{siteSettingsAllow}"
+ read-only-list="[[readOnlyList]]">
</site-list>
</template>
<script src="category_setting_exceptions.js"></script>

Powered by Google App Engine
This is Rietveld 408576698