diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 19:32:22 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-30 19:32:22 +0000 |
commit | 91a5b3e9f6fbdf10c2a031138ba902ebf612eadc (patch) | |
tree | 8be509fdea281740e0dcf153cf4a8f4ed8a9f547 /chrome/browser/browser.h | |
parent | 6828ad30f070ab8f9db629461c7eb68e3eeb51fd (diff) | |
download | chromium_src-91a5b3e9f6fbdf10c2a031138ba902ebf612eadc.zip chromium_src-91a5b3e9f6fbdf10c2a031138ba902ebf612eadc.tar.gz chromium_src-91a5b3e9f6fbdf10c2a031138ba902ebf612eadc.tar.bz2 |
Mac: enable History, Downloads, and Open Location... with no windows open.
BUG=25620
TEST=Close all windows, try History->History (Cmd-Y); close window, try Window->Downloads (Shift-Cmd-J); close window, try Open Location... (Cmd-L).
Review URL: http://codereview.chromium.org/329004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index a6c15c2..2372f95 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -168,7 +168,10 @@ class Browser : public TabStripModelDelegate, static void OpenApplicationWindow(Profile* profile, const GURL& url); #if defined(OS_MACOSX) - // Open a new window with help (needed on Mac when there are no windows). + // Open a new window with history/downloads/help (needed on Mac when there are + // no windows). + static void OpenHistoryWindow(Profile* profile); + static void OpenDownloadsWindow(Profile* profile); static void OpenHelpWindow(Profile* profile); #endif |