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

Side by Side Diff: chrome/browser/views/browser_dialogs.h

Issue 159521: Implementation of the page info dialog on Linux Gtk. (Closed)
Patch Set: Fix build Created 11 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
« no previous file with comments | « chrome/browser/page_info_window.cc ('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_VIEWS_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 9
11 // This file contains functions for running a variety of browser dialogs and 10 // This file contains functions for running a variety of browser dialogs and
12 // popups. The dialogs here are the ones that the caller does not need to 11 // popups. The dialogs here are the ones that the caller does not need to
13 // access the class of the popup. It allows us to break dependencies by 12 // access the class of the popup. It allows us to break dependencies by
14 // allowing the callers to not depend on the classes implementing the dialogs. 13 // allowing the callers to not depend on the classes implementing the dialogs.
15 14
16 class Browser; 15 class Browser;
17 class BrowserView; 16 class BrowserView;
18 class EditSearchEngineControllerDelegate; 17 class EditSearchEngineControllerDelegate;
19 class FindBar; 18 class FindBar;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Shows a dialog box that allows a search engine to be edited. |template_url| 90 // Shows a dialog box that allows a search engine to be edited. |template_url|
92 // is the search engine being edited. If it is NULL, then the dialog will add a 91 // is the search engine being edited. If it is NULL, then the dialog will add a
93 // new search engine with the data the user supplies. |delegate| is an object 92 // new search engine with the data the user supplies. |delegate| is an object
94 // to be notified when the user is done editing, or NULL. If NULL, the dialog 93 // to be notified when the user is done editing, or NULL. If NULL, the dialog
95 // will update the model with the user's edits directly. 94 // will update the model with the user's edits directly.
96 void EditSearchEngine(gfx::NativeWindow parent, 95 void EditSearchEngine(gfx::NativeWindow parent,
97 const TemplateURL* template_url, 96 const TemplateURL* template_url,
98 EditSearchEngineControllerDelegate* delegate, 97 EditSearchEngineControllerDelegate* delegate,
99 Profile* profile); 98 Profile* profile);
100 99
101 // Shows the page info using the specified information.
102 // |url| is the url of the page/frame the info applies to, |ssl| is the SSL
103 // information for that page/frame. If |show_history| is true, a section
104 // showing how many times that URL has been visited is added to the page info.
105 void ShowPageInfo(gfx::NativeWindow parent,
106 Profile* profile,
107 const GURL& url,
108 const NavigationEntry::SSLStatus& ssl,
109 bool show_history);
110
111 } // namespace browser 100 } // namespace browser
112 101
113 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ 102 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/page_info_window.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698