diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-21 22:04:44 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-21 22:04:44 +0000 |
commit | 88d749436bf04c540448065a1601ece53bfdb312 (patch) | |
tree | 4be4d6d86a0884932d13efd92a2a18d60a7f962f /chrome/browser/browser.h | |
parent | 1c36b962d877273125d92c4996a136fc1ac7e806 (diff) | |
download | chromium_src-88d749436bf04c540448065a1601ece53bfdb312.zip chromium_src-88d749436bf04c540448065a1601ece53bfdb312.tar.gz chromium_src-88d749436bf04c540448065a1601ece53bfdb312.tar.bz2 |
add basic command handling for browser window and for where there are no windows open. Can now create new browser windows.
Review URL: http://codereview.chromium.org/18458
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index 3157e5a..cd53a18 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -16,6 +16,7 @@ #include "chrome/browser/browser_process.h" #include "chrome/browser/browser_window.h" +#include "chrome/browser/command_updater.h" #include "chrome/browser/sessions/session_id.h" #include "chrome/common/notification_service.h" #include "chrome/common/pref_member.h" @@ -23,7 +24,6 @@ #include "skia/include/SkBitmap.h" #if defined(OS_WIN) -#include "chrome/browser/command_updater.h" #include "chrome/browser/shell_dialogs.h" #include "chrome/browser/tab_contents/tab_contents.h" #include "chrome/browser/tab_contents/tab_contents_delegate.h" @@ -238,9 +238,10 @@ class Browser : public TabStripModelDelegate, void OpenCurrentURL(); void Go(); void Stop(); - +#endif // Window management commands void NewWindow(); +#if defined(OS_WIN) void NewIncognitoWindow(); void NewProfileWindowByIndex(int index); void CloseWindow(); @@ -320,10 +321,12 @@ class Browser : public TabStripModelDelegate, const NavigationController* controller, int* index); // Interface implementations //////////////////////////////////////////////// +#endif // Overridden from CommandUpdater::CommandUpdaterDelegate: virtual void ExecuteCommand(int id); +#if defined(OS_WIN) // Overridden from TabStripModelDelegate: virtual GURL GetBlankTabURL() const; virtual void CreateNewStripWithContents(TabContents* detached_contents, |