Chromium Code Reviews| 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 c1aa1baa373cc1c4eb9a2766fba1a57dcb5ead6c..f0daecb1bf24bc6e625f65719fe83eea48aa272b 100644 |
| --- a/chrome/browser/resources/settings/site_settings/site_settings_category.js |
| +++ b/chrome/browser/resources/settings/site_settings/site_settings_category.js |
| @@ -114,4 +114,25 @@ Polymer({ |
| this.categoryEnabled = enabled; |
| }.bind(this)); |
| }, |
| + |
| + /** |
| + * Returns whether this is the plugin category. |
| + * @param {string} category The current category. |
|
dschuyler
2016/08/25 18:24:17
@return
Finnur
2016/08/26 13:09:21
Done.
|
| + * @private |
| + */ |
| + isPluginCategory_: function(category) { |
| + return category == settings.ContentSettingsTypes.PLUGINS; |
| + }, |
| + |
| + /** @private */ |
| + onLearnMoreClicked_: function() { |
| + window.open( |
| + 'https://support.google.com/chrome/?p=settings_manage_exceptions'); |
| + }, |
| + |
| + /** @private */ |
| + onAdobeFlashStorageClicked_: function() { |
| + window.open('https://www.macromedia.com/support/' + |
| + 'documentation/en/flashplayer/help/settings_manager07.html'); |
| + }, |
| }); |