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

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

Issue 9479008: Re-factor location bar/toolbar code to get rid of the browser dependency. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 years, 10 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/content_settings/content_setting_bubble_model.h
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
index eabc97b4bdbcd2f1a44b422e92947418f7a61054..e4858a3f9d59b3b1b2b3da655cfd30750c2c5078 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
@@ -17,7 +17,7 @@
#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
-class Browser;
+class BrowserShowContentRelated;
class Profile;
class TabContentsWrapper;
@@ -27,8 +27,10 @@ class ContentSettingBubbleModel : public content::NotificationObserver {
public:
virtual ~ContentSettingBubbleModel();
+ typedef BrowserShowContentRelated Delegate;
sky 2012/02/29 22:41:10 Can we name this class ContentSettingsBubbleModelD
altimofeev 2012/03/01 10:05:39 Which one, Delegate or BrowserShowContentRelated?
sky 2012/03/01 16:34:47 Indeed, but focus on the task at hand and not worr
altimofeev 2012/03/01 18:01:07 Done.
+
static ContentSettingBubbleModel* CreateContentSettingBubbleModel(
- Browser* browser,
+ Delegate* delegate,
TabContentsWrapper* tab_contents,
Profile* profile,
ContentSettingsType content_type);

Powered by Google App Engine
This is Rietveld 408576698