| 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool IsBookmarkBubbleViewShowing(); | 65 bool IsBookmarkBubbleViewShowing(); |
| 66 | 66 |
| 67 // Shows the bookmark manager. | 67 // Shows the bookmark manager. |
| 68 void ShowBookmarkManagerView(Profile* profile); | 68 void ShowBookmarkManagerView(Profile* profile); |
| 69 | 69 |
| 70 // Shows the about dialog. See AboutChromeView. | 70 // Shows the about dialog. See AboutChromeView. |
| 71 void ShowAboutChromeView(gfx::NativeWindow parent, | 71 void ShowAboutChromeView(gfx::NativeWindow parent, |
| 72 Profile* profile); | 72 Profile* profile); |
| 73 | 73 |
| 74 // Shows an HTML dialog. See HtmlDialogView. | 74 // Shows an HTML dialog. See HtmlDialogView. |
| 75 void ShowHtmlDialogView(gfx::NativeWindow parent, Browser* browser, | 75 void ShowHtmlDialogView(gfx::NativeWindow parent, Profile* profile, |
| 76 HtmlDialogUIDelegate* delegate); | 76 HtmlDialogUIDelegate* delegate); |
| 77 | 77 |
| 78 // Creates and returns a find bar for the given browser window. See FindBarWin. | 78 // Creates and returns a find bar for the given browser window. See FindBarWin. |
| 79 FindBar* CreateFindBar(BrowserView* browser_view); | 79 FindBar* CreateFindBar(BrowserView* browser_view); |
| 80 | 80 |
| 81 // Shows the "Save passwords and exceptions" dialog. | 81 // Shows the "Save passwords and exceptions" dialog. |
| 82 // See PasswordsExceptionsWindowView. | 82 // See PasswordsExceptionsWindowView. |
| 83 void ShowPasswordsExceptionsWindowView(Profile* profile); | 83 void ShowPasswordsExceptionsWindowView(Profile* profile); |
| 84 | 84 |
| 85 // Shows the keyword editor. See KeywordEditorView. | 85 // Shows the keyword editor. See KeywordEditorView. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 115 ContentSettingsType content_type, | 115 ContentSettingsType content_type, |
| 116 Profile* profile); | 116 Profile* profile); |
| 117 | 117 |
| 118 // Shows the create web app shortcut dialog box. | 118 // Shows the create web app shortcut dialog box. |
| 119 void ShowCreateShortcutsDialog(gfx::NativeWindow parent_window, | 119 void ShowCreateShortcutsDialog(gfx::NativeWindow parent_window, |
| 120 TabContents* tab_contents); | 120 TabContents* tab_contents); |
| 121 | 121 |
| 122 } // namespace browser | 122 } // namespace browser |
| 123 | 123 |
| 124 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ | 124 #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |