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

Side by Side Diff: chrome/browser/ui/content_settings/content_settings_tab_helper_delegate.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTINGS_TAB_HELPER_DELEGATE_ H_
6 #define CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTINGS_TAB_HELPER_DELEGATE_ H_
7 #pragma once
8
9 #include "chrome/common/content_settings_types.h"
10
11 class TabContents;
12 class TabContentsWrapper;
13
14 // Objects implement this interface to get notified about changes in the
15 // ContentSettingsTabHelper and to provide necessary functionality.
jochen (gone - plz use gerrit) 2011/04/14 23:11:04 this delegate seems to be unrelated to the popup b
Avi (use Gerrit) 2011/04/15 00:20:12 The GetConstrainingContents does belong as a deleg
16 class ContentSettingsTabHelperDelegate {
17 public:
18 // If |source| is constrained, returns the tab containing it. Otherwise
19 // returns |source|.
20 virtual TabContentsWrapper* GetConstrainingContents(
21 TabContentsWrapper* source) = 0;
22
23 // Shows the Content Settings page for a given content type.
24 virtual void ShowContentSettingsPage(ContentSettingsType content_type) = 0;
25
26 // Shows the cookies collected in the tab contents.
27 virtual void ShowCollectedCookiesDialog(TabContents* tab_contents) = 0;
28
29 protected:
30 virtual ~ContentSettingsTabHelperDelegate();
31 };
32
33 #endif // CHROME_BROWSER_UI_CONTENT_SETTINGS_CONTENT_SETTINGS_TAB_HELPER_DELEGA TE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698