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

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

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.js
diff --git a/chrome/browser/resources/settings/site_settings/category_setting_exceptions.js b/chrome/browser/resources/settings/site_settings/category_setting_exceptions.js
index 4a972fa02eababe80dbf4a8e7d1216c68c30a46f..0e457fefd774fcf742999a5c87dc8e384b5e16d5 100644
--- a/chrome/browser/resources/settings/site_settings/category_setting_exceptions.js
+++ b/chrome/browser/resources/settings/site_settings/category_setting_exceptions.js
@@ -10,6 +10,18 @@
Polymer({
is: 'category-setting-exceptions',
+ properties: {
+ /**
+ * Some content types (like Location) do not allow the user to manually
+ * edit the exception list from within Settings.
+ * @private
+ */
+ readOnlyList: {
+ type: Boolean,
+ value: false,
+ },
+ },
+
/** @override */
ready: function() {
this.PermissionValues = settings.PermissionValues;

Powered by Google App Engine
This is Rietveld 408576698