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_UI_VIEWS_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 class Window; | 39 class Window; |
40 } // namespace views | 40 } // namespace views |
41 | 41 |
42 namespace browser { | 42 namespace browser { |
43 | 43 |
44 // Shows the "Report a problem with this page" dialog box. See BugReportView. | 44 // Shows the "Report a problem with this page" dialog box. See BugReportView. |
45 void ShowBugReportView(views::Window* parent, | 45 void ShowBugReportView(views::Window* parent, |
46 Profile* profile, | 46 Profile* profile, |
47 TabContents* tab); | 47 TabContents* tab); |
48 | 48 |
49 // Shows the "Report a problem with this page" page in a new tab | |
50 void ShowHtmlBugReportView(views::Window* parent, Browser* browser); | |
51 | |
52 // Shows the "Clear browsing data" dialog box. See ClearBrowsingDataView. | 49 // Shows the "Clear browsing data" dialog box. See ClearBrowsingDataView. |
53 void ShowClearBrowsingDataView(gfx::NativeWindow parent, | 50 void ShowClearBrowsingDataView(gfx::NativeWindow parent, |
54 Profile* profile); | 51 Profile* profile); |
55 | 52 |
56 // Shows the "Importer" dialog. See ImporterView. | 53 // Shows the "Importer" dialog. See ImporterView. |
57 void ShowImporterView(views::Widget* parent, | 54 void ShowImporterView(views::Widget* parent, |
58 Profile* profile); | 55 Profile* profile); |
59 | 56 |
60 // Shows or hides the global bookmark bubble for the star button. | 57 // Shows or hides the global bookmark bubble for the star button. |
61 void ShowBookmarkBubbleView(views::Window* parent, | 58 void ShowBookmarkBubbleView(views::Window* parent, |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 TabContents* tab_contents); | 125 TabContents* tab_contents); |
129 | 126 |
130 // Shows the create chrome app shortcut dialog box. | 127 // Shows the create chrome app shortcut dialog box. |
131 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 128 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
132 Profile* profile, | 129 Profile* profile, |
133 const Extension* app); | 130 const Extension* app); |
134 | 131 |
135 } // namespace browser | 132 } // namespace browser |
136 | 133 |
137 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 134 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
OLD | NEW |