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

Unified Diff: chrome/browser/notifications/notification_options_menu_model.cc

Issue 6854035: Move blocked content from TabContents to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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/notifications/notification_options_menu_model.cc
diff --git a/chrome/browser/notifications/notification_options_menu_model.cc b/chrome/browser/notifications/notification_options_menu_model.cc
index 065c7e91309fb8bd833f3eb507deedb317c5254b..977bb18b8b90baccddb04cc72cd021e7198e60db 100644
--- a/chrome/browser/notifications/notification_options_menu_model.cc
+++ b/chrome/browser/notifications/notification_options_menu_model.cc
@@ -17,6 +17,7 @@
#include "chrome/browser/notifications/notifications_prefs_cache.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser_list.h"
+#include "chrome/browser/ui/content_settings/content_settings_tab_helper_delegate.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/common/extensions/extension.h"
@@ -241,8 +242,8 @@ void NotificationOptionsMenuModel::ExecuteCommand(int command_id) {
// background pages, or for a chrome frame process on windows).
browser = Browser::Create(balloon_->profile());
}
- static_cast<TabContentsDelegate*>(browser)->ShowContentSettingsPage(
- CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
+ static_cast<ContentSettingsTabHelperDelegate*>(browser)->
+ ShowContentSettingsPage(CONTENT_SETTINGS_TYPE_NOTIFICATIONS);
break;
}
default:

Powered by Google App Engine
This is Rietveld 408576698