OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 class Window; | 38 class Window; |
39 } // namespace views | 39 } // namespace views |
40 | 40 |
41 namespace browser { | 41 namespace browser { |
42 | 42 |
43 // Shows the "Report a problem with this page" dialog box. See BugReportView. | 43 // Shows the "Report a problem with this page" dialog box. See BugReportView. |
44 void ShowBugReportView(views::Window* parent, | 44 void ShowBugReportView(views::Window* parent, |
45 Profile* profile, | 45 Profile* profile, |
46 TabContents* tab); | 46 TabContents* tab); |
47 | 47 |
| 48 // Shows the "Report a problem with this page" page in a new tab |
| 49 void ShowHtmlBugReportView(views::Window* parent, Browser* browser); |
| 50 |
48 // Shows the "Clear browsing data" dialog box. See ClearBrowsingDataView. | 51 // Shows the "Clear browsing data" dialog box. See ClearBrowsingDataView. |
49 void ShowClearBrowsingDataView(gfx::NativeWindow parent, | 52 void ShowClearBrowsingDataView(gfx::NativeWindow parent, |
50 Profile* profile); | 53 Profile* profile); |
51 | 54 |
52 // Shows the "Importer" dialog. See ImporterView. | 55 // Shows the "Importer" dialog. See ImporterView. |
53 void ShowImporterView(views::Widget* parent, | 56 void ShowImporterView(views::Widget* parent, |
54 Profile* profile); | 57 Profile* profile); |
55 | 58 |
56 // Shows or hides the global bookmark bubble for the star button. | 59 // Shows or hides the global bookmark bubble for the star button. |
57 void ShowBookmarkBubbleView(views::Window* parent, | 60 void ShowBookmarkBubbleView(views::Window* parent, |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, | 121 void ShowCollectedCookiesDialog(gfx::NativeWindow parent_window, |
119 TabContents* tab_contents); | 122 TabContents* tab_contents); |
120 | 123 |
121 // Shows the create web app shortcut dialog box. | 124 // Shows the create web app shortcut dialog box. |
122 void ShowCreateShortcutsDialog(gfx::NativeWindow parent_window, | 125 void ShowCreateShortcutsDialog(gfx::NativeWindow parent_window, |
123 TabContents* tab_contents); | 126 TabContents* tab_contents); |
124 | 127 |
125 } // namespace browser | 128 } // namespace browser |
126 | 129 |
127 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ | 130 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ |
OLD | NEW |