OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_PAGE_INFO_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_PAGE_INFO_WINDOW_H_ |
6 #define CHROME_BROWSER_PAGE_INFO_WINDOW_H_ | 6 #define CHROME_BROWSER_PAGE_INFO_WINDOW_H_ |
7 | 7 |
8 #include "base/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
10 | 10 |
11 class Profile; | 11 class Profile; |
12 class GURL; | 12 class GURL; |
13 | 13 |
14 namespace browser { | 14 namespace browser { |
15 | 15 |
16 // Shows the page info using the specified information. | 16 // Shows the page info using the specified information. |
17 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL | 17 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL |
18 // information for that page/frame. If |show_history| is true, a section | 18 // information for that page/frame. If |show_history| is true, a section |
19 // showing how many times that URL has been visited is added to the page info. | 19 // showing how many times that URL has been visited is added to the page info. |
20 void ShowPageInfo(gfx::NativeWindow parent, | 20 void ShowPageInfo(gfx::NativeWindow parent, |
21 Profile* profile, | 21 Profile* profile, |
22 const GURL& url, | 22 const GURL& url, |
23 const NavigationEntry::SSLStatus& ssl, | 23 const NavigationEntry::SSLStatus& ssl, |
24 bool show_history); | 24 bool show_history); |
25 | 25 |
26 } // namespace browser | 26 } // namespace browser |
27 | 27 |
28 #endif // CHROME_BROWSER_PAGE_INFO_WINDOW_H_ | 28 #endif // CHROME_BROWSER_PAGE_INFO_WINDOW_H_ |
OLD | NEW |