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

Unified Diff: chrome/browser/ui/gtk/page_info_bubble_gtk.cc

Issue 8068020: Converts usage of GetBrowserViewForNativeWindow to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years, 3 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/gtk/page_info_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/page_info_bubble_gtk.cc b/chrome/browser/ui/gtk/page_info_bubble_gtk.cc
index bc4cda7a92d1f8927ffe4d4e49326797751aaabf..8c8b706d99d99cfe9ebd4705d506e03837506417 100644
--- a/chrome/browser/ui/gtk/page_info_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/page_info_bubble_gtk.cc
@@ -238,12 +238,13 @@ void PageInfoBubbleGtk::OnHelpLinkClicked(GtkWidget* widget) {
namespace browser {
-void ShowPageInfoBubble(gfx::NativeWindow parent,
+void ShowPageInfoBubble(Browser* browser,
Profile* profile,
const GURL& url,
const NavigationEntry::SSLStatus& ssl,
bool show_history) {
- new PageInfoBubbleGtk(parent, profile, url, ssl, show_history);
+ new PageInfoBubbleGtk(browser->window()->GetNativeHandle(), profile, url, ssl,
+ show_history);
}
} // namespace browser

Powered by Google App Engine
This is Rietveld 408576698