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_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 | 9 |
10 // 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 |
11 // 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 |
12 // 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 |
13 // 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. |
14 | 14 |
15 class Browser; | 15 class Browser; |
16 class BrowserView; | 16 class BrowserView; |
| 17 class FindBar; |
17 class GURL; | 18 class GURL; |
18 class HtmlDialogUIDelegate; | 19 class HtmlDialogUIDelegate; |
19 class InfoBubbleDelegate; | 20 class InfoBubbleDelegate; |
20 class Profile; | 21 class Profile; |
21 class TabContents; | 22 class TabContents; |
22 | 23 |
23 namespace gfx { | 24 namespace gfx { |
24 class Rect; | 25 class Rect; |
25 } // namespace gfx | 26 } // namespace gfx |
26 | 27 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 78 |
78 // Shows the keyword editor. See KeywordEditorView. | 79 // Shows the keyword editor. See KeywordEditorView. |
79 void ShowKeywordEditorView(Profile* profile); | 80 void ShowKeywordEditorView(Profile* profile); |
80 | 81 |
81 // Shows the "new profile" dialog box. See NewProfileDialog. | 82 // Shows the "new profile" dialog box. See NewProfileDialog. |
82 void ShowNewProfileDialog(); | 83 void ShowNewProfileDialog(); |
83 | 84 |
84 } // namespace browser | 85 } // namespace browser |
85 | 86 |
86 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ | 87 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ |
OLD | NEW |