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

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

Issue 10413061: Make PageInfoBubble not use BrowserList::GetLastActive and instead obtain a navigator at creation t… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/page_info_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/page_info_bubble_view.h
===================================================================
--- chrome/browser/ui/views/page_info_bubble_view.h (revision 138673)
+++ chrome/browser/ui/views/page_info_bubble_view.h (working copy)
@@ -14,6 +14,7 @@
#include "ui/views/controls/link_listener.h"
namespace content {
+class PageNavigator;
struct SSLStatus;
}
@@ -25,7 +26,8 @@
Profile* profile,
const GURL& url,
const content::SSLStatus& ssl,
- bool show_history);
+ bool show_history,
+ content::PageNavigator* navigator);
virtual ~PageInfoBubbleView();
// Show the certificate dialog.
@@ -75,6 +77,9 @@
// The height of the info bubble at the start of the resize animation.
int animation_start_height_;
+ // Used for loading pages.
+ content::PageNavigator* navigator_;
+
DISALLOW_COPY_AND_ASSIGN(PageInfoBubbleView);
};
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/page_info_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698