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

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

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: mac build Created 8 years, 6 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/page_info_bubble_view.h
===================================================================
--- chrome/browser/ui/views/page_info_bubble_view.h (revision 142088)
+++ chrome/browser/ui/views/page_info_bubble_view.h (working copy)
@@ -15,6 +15,7 @@
namespace content {
class PageNavigator;
+class WebContents;
struct SSLStatus;
}
@@ -23,7 +24,7 @@
public views::LinkListener {
public:
PageInfoBubbleView(views::View* anchor_view,
- Profile* profile,
+ content::WebContents* web_contents,
const GURL& url,
const content::SSLStatus& ssl,
bool show_history,
@@ -80,6 +81,8 @@
// Used for loading pages.
content::PageNavigator* navigator_;
+ content::WebContents* web_contents_;
+
DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView);
};

Powered by Google App Engine
This is Rietveld 408576698