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

Unified Diff: chrome/browser/ui/browser.h

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/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index c8780f948ee58e38b2d0547acb7690614f3210a0..d8faada51e399fb0d8831129be503a8dbd499ad1 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -28,6 +28,7 @@
#include "chrome/browser/tabs/tab_strip_model_delegate.h" // TODO(beng): remove
#include "chrome/browser/tabs/tab_strip_model_observer.h" // TODO(beng): remove
#include "chrome/browser/ui/browser_navigator.h"
+#include "chrome/browser/ui/content_settings/content_settings_tab_helper_delegate.h"
#include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h"
#include "chrome/browser/ui/shell_dialogs.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h"
@@ -62,6 +63,7 @@ class Browser : public TabHandlerDelegate,
public TabContentsDelegate,
public TabContentsWrapperDelegate,
public SearchEngineTabHelperDelegate,
+ public ContentSettingsTabHelperDelegate,
public PageNavigator,
public CommandUpdater::CommandUpdaterDelegate,
public NotificationObserver,
@@ -809,8 +811,6 @@ class Browser : public TabHandlerDelegate,
bool* is_keyboard_shortcut);
virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
virtual void ShowRepostFormWarningDialog(TabContents* tab_contents);
- virtual void ShowContentSettingsPage(ContentSettingsType content_type);
- virtual void ShowCollectedCookiesDialog(TabContents* tab_contents);
virtual bool ShouldAddNavigationToHistory(
const history::HistoryAddPageArgs& add_page_args,
NavigationType::Type navigation_type);
@@ -834,6 +834,13 @@ class Browser : public TabHandlerDelegate,
virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
Profile* profile) OVERRIDE;
+ // Overridden from ContentSettingsTabHelperDelegate:
+ virtual TabContentsWrapper* GetConstrainingContents(
+ TabContentsWrapper* source) OVERRIDE;
+ virtual void ShowContentSettingsPage(
+ ContentSettingsType content_type) OVERRIDE;
+ virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) OVERRIDE;
+
// Overridden from SelectFileDialog::Listener:
virtual void FileSelected(const FilePath& path, int index, void* params);

Powered by Google App Engine
This is Rietveld 408576698