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

Side by Side Diff: chrome/browser/ui/page_info_bubble.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 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;
12 class GURL; 11 class GURL;
12 class TabContents;
13 13
14 namespace content { 14 namespace content {
15 class PageNavigator; 15 class PageNavigator;
16 struct SSLStatus; 16 struct SSLStatus;
17 } 17 }
18 18
19 namespace browser { 19 namespace browser {
20 20
21 void ShowPageInfoBubble(gfx::NativeWindow parent, 21 void ShowPageInfoBubble(gfx::NativeWindow parent,
22 Profile* profile, 22 TabContents* tab_contents,
Ben Goodger (Google) 2012/06/18 20:26:33 why not WebContents?
jam 2012/06/18 20:33:12 I originally had that, but then the code that uses
23 const GURL& url, 23 const GURL& url,
24 const content::SSLStatus& ssl, 24 const content::SSLStatus& ssl,
25 bool show_history, 25 bool show_history,
26 content::PageNavigator* navigator); 26 content::PageNavigator* navigator);
27 27
28 } // namespace browser 28 } // namespace browser
29 29
30 #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/website_settings_popup_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698