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

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: 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)
@@ -13,6 +13,8 @@
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/link_listener.h"
+class TabContents;
+
namespace content {
class PageNavigator;
struct SSLStatus;
@@ -23,7 +25,7 @@
public views::LinkListener {
public:
PageInfoBubbleView(views::View* anchor_view,
- Profile* profile,
+ TabContents* tab_contents,
const GURL& url,
const content::SSLStatus& ssl,
bool show_history,
@@ -80,6 +82,8 @@
// Used for loading pages.
content::PageNavigator* navigator_;
+ TabContents* tab_contents_;
+
DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView);
};

Powered by Google App Engine
This is Rietveld 408576698