diff options
Diffstat (limited to 'chrome/browser/cocoa/content_settings_dialog_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/content_settings_dialog_controller.mm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/content_settings_dialog_controller.mm b/chrome/browser/cocoa/content_settings_dialog_controller.mm index 2af5616..ef66d7d 100644 --- a/chrome/browser/cocoa/content_settings_dialog_controller.mm +++ b/chrome/browser/cocoa/content_settings_dialog_controller.mm @@ -17,6 +17,7 @@ #include "chrome/browser/profile.h" #include "chrome/common/notification_service.h" #include "chrome/common/pref_names.h" +#include "chrome/common/url_constants.h" #include "grit/locale_settings.h" @@ -229,6 +230,14 @@ class PrefObserverBridge : public NotificationObserver { browser->window()->Show(); } +// Called when the user clicks the "Disable individual plug-ins..." button. +- (IBAction)openPluginsPage:(id)sender { + Browser* browser = Browser::Create(profile_); + browser->OpenURL(GURL(chrome::kChromeUIPluginsURL), + GURL(), NEW_FOREGROUND_TAB, PageTransition::LINK); + browser->window()->Show(); +} + - (IBAction)showCookieExceptions:(id)sender { [self showExceptionsForType:CONTENT_SETTINGS_TYPE_COOKIES]; } |