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

Side by Side Diff: chrome/browser/page_info_window.h

Issue 3136027: First pass at convert the SSL dialogs into InfoBubbles.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/app/resources/locale_settings.grd ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 #include "gfx/native_widget_types.h" 10 #include "gfx/native_widget_types.h"
11 11
12 class Profile; 12 class Profile;
13 class GURL; 13 class GURL;
14 14
15 namespace browser { 15 namespace browser {
16 16
17 // Shows the page info using the specified information. 17 // Shows the page info using the specified information.
18 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL 18 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL
19 // information for that page/frame. If |show_history| is true, a section 19 // information for that page/frame. If |show_history| is true, a section
20 // showing how many times that URL has been visited is added to the page info. 20 // showing how many times that URL has been visited is added to the page info.
21 void ShowPageInfo(gfx::NativeWindow parent, 21 void ShowPageInfo(gfx::NativeWindow parent,
22 Profile* profile, 22 Profile* profile,
23 const GURL& url, 23 const GURL& url,
24 const NavigationEntry::SSLStatus& ssl, 24 const NavigationEntry::SSLStatus& ssl,
25 bool show_history); 25 bool show_history);
26 26
27 void ShowPageInfoBubble(gfx::NativeWindow parent,
28 Profile* profile,
29 const GURL& url,
30 const NavigationEntry::SSLStatus& ssl,
31 bool show_history);
32
27 } // namespace browser 33 } // namespace browser
28 34
29 #endif // CHROME_BROWSER_PAGE_INFO_WINDOW_H_ 35 #endif // CHROME_BROWSER_PAGE_INFO_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/app/resources/locale_settings.grd ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698