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

Side by Side Diff: chrome/browser/ui/page_info_bubble.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PAGE_INFO_BUBBLE_H_ 5 #ifndef CHROME_BROWSER_UI_PAGE_INFO_BUBBLE_H_
6 #define CHROME_BROWSER_UI_PAGE_INFO_BUBBLE_H_ 6 #define CHROME_BROWSER_UI_PAGE_INFO_BUBBLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 class Profile; 11 class Profile;
12 class GURL; 12 class GURL;
13 13
14 namespace content { 14 namespace content {
15 class PageNavigator;
15 struct SSLStatus; 16 struct SSLStatus;
16 } 17 }
17 18
18 namespace browser { 19 namespace browser {
19 20
20 void ShowPageInfoBubble(gfx::NativeWindow parent, 21 void ShowPageInfoBubble(gfx::NativeWindow parent,
21 Profile* profile, 22 Profile* profile,
22 const GURL& url, 23 const GURL& url,
23 const content::SSLStatus& ssl, 24 const content::SSLStatus& ssl,
24 bool show_history); 25 bool show_history,
26 content::PageNavigator* navigator);
25 27
26 } // namespace browser 28 } // namespace browser
27 29
28 #endif // CHROME_BROWSER_UI_PAGE_INFO_BUBBLE_H_ 30 #endif // CHROME_BROWSER_UI_PAGE_INFO_BUBBLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/page_info_bubble_gtk.cc ('k') | chrome/browser/ui/views/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698