diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 21:29:22 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-22 21:29:22 +0000 |
commit | a984b917749505c9bb86cab6ad7a3cf36d37d4dd (patch) | |
tree | 5303775b7d763865cba3fc05fb16fd7220872cfc /chrome/browser/views/browser_dialogs.h | |
parent | d7509b924091be8c5130bad343055dfe39c306d3 (diff) | |
download | chromium_src-a984b917749505c9bb86cab6ad7a3cf36d37d4dd.zip chromium_src-a984b917749505c9bb86cab6ad7a3cf36d37d4dd.tar.gz chromium_src-a984b917749505c9bb86cab6ad7a3cf36d37d4dd.tar.bz2 |
Move more dialog showing routines to browser_dialogs.h to reduce dependencies
and make this file easier to port.
Review URL: http://codereview.chromium.org/113778
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/browser_dialogs.h')
-rw-r--r-- | chrome/browser/views/browser_dialogs.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/browser/views/browser_dialogs.h b/chrome/browser/views/browser_dialogs.h index 7884719..dd02f80 100644 --- a/chrome/browser/views/browser_dialogs.h +++ b/chrome/browser/views/browser_dialogs.h @@ -56,6 +56,9 @@ void ShowBookmarkBubbleView(views::Window* parent, void HideBookmarkBubbleView(); bool IsBookmarkBubbleViewShowing(); +// Shows the bookmark manager. +void ShowBookmarkManagerView(Profile* profile); + // Shows the about dialog. See AboutChromeView. void ShowAboutChromeView(views::Widget* parent, Profile* profile); @@ -64,6 +67,19 @@ void ShowAboutChromeView(views::Widget* parent, void ShowHtmlDialogView(gfx::NativeWindow parent, Browser* browser, HtmlDialogUIDelegate* delegate); +// Creates and returns a find bar for the given browser window. See FindBarWin. +FindBar* CreateFindBar(BrowserView* browser_view); + +// Shows the "Save passwords and exceptions" dialog. +// See PasswordsExceptionsWindowView. +void ShowPasswordsExceptionsWindowView(Profile* profile); + +// Shows the keyword editor. See KeywordEditorView. +void ShowKeywordEditorView(Profile* profile); + +// Shows the "new profile" dialog box. See NewProfileDialog. +void ShowNewProfileDialog(); + } // namespace browser #endif // CHROME_BROWSER_VIEWS_BROWSER_DIALOGS_H_ |