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 EditSearchEngineControllerDelegate; | 17 class EditSearchEngineControllerDelegate; |
18 class FindBar; | 18 class FindBar; |
19 class GURL; | 19 class GURL; |
20 class HtmlDialogUIDelegate; | 20 class HtmlDialogUIDelegate; |
21 class InfoBubbleDelegate; | 21 class InfoBubbleDelegate; |
22 class Profile; | 22 class Profile; |
23 class TabContents; | 23 class TabContents; |
| 24 class TemplateURL; |
24 | 25 |
25 namespace gfx { | 26 namespace gfx { |
26 class Rect; | 27 class Rect; |
27 } // namespace gfx | 28 } // namespace gfx |
28 | 29 |
29 namespace views { | 30 namespace views { |
30 class Widget; | 31 class Widget; |
31 class Window; | 32 class Window; |
32 } // namespace views | 33 } // namespace views |
33 | 34 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // 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 |
93 // will update the model with the user's edits directly. | 94 // will update the model with the user's edits directly. |
94 void EditSearchEngine(gfx::NativeWindow parent, | 95 void EditSearchEngine(gfx::NativeWindow parent, |
95 const TemplateURL* template_url, | 96 const TemplateURL* template_url, |
96 EditSearchEngineControllerDelegate* delegate, | 97 EditSearchEngineControllerDelegate* delegate, |
97 Profile* profile); | 98 Profile* profile); |
98 | 99 |
99 } // namespace browser | 100 } // namespace browser |
100 | 101 |
101 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ | 102 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ |
OLD | NEW |