Index: chrome/browser/resources/options/content_settings.js |
diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js |
index db6fbf6b92829cbaa50a485efdde8a65ac8e1fb6..a53df40020321f9906eab392ce7a721bd3bf811d 100644 |
--- a/chrome/browser/resources/options/content_settings.js |
+++ b/chrome/browser/resources/options/content_settings.js |
@@ -293,6 +293,13 @@ cr.define('options', function() { |
}; |
/** |
+ * Disable the 'allow' option in the Plugins section. |
+ */ |
+ ContentSettings.disablePluginsAllowOption = function() { |
+ $('plugins-allow-radio').disabled = true; |
+ }; |
+ |
+ /** |
* Updates the microphone/camera devices menu with the given entries. |
* @param {string} type The device type. |
* @param {Array} devices List of available devices. |