| 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 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 } // namespace views | 31 } // namespace views |
| 32 | 32 |
| 33 namespace browser { | 33 namespace browser { |
| 34 | 34 |
| 35 // Shows the "Report a problem with this page" dialog box. See BugReportView. | 35 // Shows the "Report a problem with this page" dialog box. See BugReportView. |
| 36 void ShowBugReportView(views::Widget* parent, | 36 void ShowBugReportView(views::Widget* parent, |
| 37 Profile* profile, | 37 Profile* profile, |
| 38 TabContents* tab); | 38 TabContents* tab); |
| 39 | 39 |
| 40 // Shows the "Clear browsing data" dialog box. See ClearBrowsingDataView. | 40 // Shows the "Clear browsing data" dialog box. See ClearBrowsingDataView. |
| 41 void ShowClearBrowsingDataView(views::Widget* parent, | 41 void ShowClearBrowsingDataView(gfx::NativeWindow parent, |
| 42 Profile* profile); | 42 Profile* profile); |
| 43 | 43 |
| 44 // Shows the "Select profile" dialog. See SelectProfileDialog. | 44 // Shows the "Select profile" dialog. See SelectProfileDialog. |
| 45 void ShowSelectProfileDialog(); | 45 void ShowSelectProfileDialog(); |
| 46 | 46 |
| 47 // Shows the "Importer" dialog. See ImporterView. | 47 // Shows the "Importer" dialog. See ImporterView. |
| 48 void ShowImporterView(views::Widget* parent, | 48 void ShowImporterView(views::Widget* parent, |
| 49 Profile* profile); | 49 Profile* profile); |
| 50 | 50 |
| 51 // Shows or hides the global bookmark bubble for the star button. | 51 // Shows or hides the global bookmark bubble for the star button. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 78 | 78 |
| 79 // Shows the keyword editor. See KeywordEditorView. | 79 // Shows the keyword editor. See KeywordEditorView. |
| 80 void ShowKeywordEditorView(Profile* profile); | 80 void ShowKeywordEditorView(Profile* profile); |
| 81 | 81 |
| 82 // Shows the "new profile" dialog box. See NewProfileDialog. | 82 // Shows the "new profile" dialog box. See NewProfileDialog. |
| 83 void ShowNewProfileDialog(); | 83 void ShowNewProfileDialog(); |
| 84 | 84 |
| 85 } // namespace browser | 85 } // namespace browser |
| 86 | 86 |
| 87 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ | 87 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |