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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

Issue 1268243003: Remove |browser_| from WebsiteSettingsPopupView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@enabledialogs
Patch Set: Sync and rebase. Created 5 years, 4 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/views/website_settings/website_settings_popup_view.h
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
index 9f446b35f07e3338c3a23403bd4ce56fcbe198ed..712f183bf1caae5ba633093441b8a5d08a95539b 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_WEBSITE_SETTINGS_POPUP_VIEW_H_
-#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -14,13 +13,10 @@
#include "chrome/browser/ui/website_settings/website_settings_ui.h"
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
-#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/link_listener.h"
#include "ui/views/controls/tabbed_pane/tabbed_pane_listener.h"
-class Browser;
class GURL;
-class PermissionSelectorView;
class PopupHeaderView;
class Profile;
@@ -51,8 +47,7 @@ class WebsiteSettingsPopupView
Profile* profile,
content::WebContents* web_contents,
const GURL& url,
- const content::SSLStatus& ssl,
- Browser* browser);
+ const content::SSLStatus& ssl);
static bool IsPopupShowing();
@@ -61,8 +56,7 @@ class WebsiteSettingsPopupView
Profile* profile,
content::WebContents* web_contents,
const GURL& url,
- const content::SSLStatus& ssl,
- Browser* browser);
+ const content::SSLStatus& ssl);
// PermissionSelectorViewObserver implementation.
void OnPermissionChanged(
@@ -128,9 +122,6 @@ class WebsiteSettingsPopupView
// tab.
content::WebContents* web_contents_;
- // The Browser is used to load the help center page.
- Browser* browser_;
-
// The presenter that controls the Website Settings UI.
scoped_ptr<WebsiteSettings> presenter_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/website_settings/website_settings_popup_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698