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

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

Issue 2280233002: [HBD] Update MD Site Settings Plugins section to show 3rd mode checkbox. (Closed)
Patch Set: merge origin/master Created 4 years, 4 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/protocol_handlers.js
diff --git a/chrome/browser/resources/settings/site_settings/protocol_handlers.js b/chrome/browser/resources/settings/site_settings/protocol_handlers.js
index 7182f9af49ff2804ed28fe44bd8ea2f32f6b3a2d..404d3df1dae065d45fdc772379c1a1835e0784fb 100644
--- a/chrome/browser/resources/settings/site_settings/protocol_handlers.js
+++ b/chrome/browser/resources/settings/site_settings/protocol_handlers.js
@@ -78,8 +78,10 @@ Polymer({
* @private
*/
computeHandlersDescription_: function(categoryEnabled) {
+ var setting = categoryEnabled ?
+ settings.PermissionValues.ALLOW : settings.PermissionValues.BLOCK;
return this.computeCategoryDesc(
- settings.ContentSettingsTypes.PROTOCOL_HANDLERS, categoryEnabled, true);
+ settings.ContentSettingsTypes.PROTOCOL_HANDLERS, setting, true);
},
/**

Powered by Google App Engine
This is Rietveld 408576698