diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 19:24:21 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 19:24:21 +0000 |
commit | f745489d0208c9e4e061d0e7361f951fb5eb825c (patch) | |
tree | c85f3ed2ddd6d9ba3a1374c1ccc177ad802ea4cc /chrome/browser/browser.h | |
parent | 19b8d82f61d84ec8423e3f1c0223410501d35a93 (diff) | |
download | chromium_src-f745489d0208c9e4e061d0e7361f951fb5eb825c.zip chromium_src-f745489d0208c9e4e061d0e7361f951fb5eb825c.tar.gz chromium_src-f745489d0208c9e4e061d0e7361f951fb5eb825c.tar.bz2 |
hookup tabs to the model and handle new tab creation
Review URL: http://codereview.chromium.org/19669
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8902 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index e9880bc..6e71de4 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -246,13 +246,13 @@ class Browser : public TabStripModelDelegate, void NewIncognitoWindow(); void NewProfileWindowByIndex(int index); void CloseWindow(); -#if defined(OS_WIN) void NewTab(); void CloseTab(); void SelectNextTab(); void SelectPreviousTab(); void SelectNumberedTab(int index); void SelectLastTab(); +#if defined(OS_WIN) void DuplicateTab(); void RestoreTab(); void ConvertPopupToTabbedBrowser(); @@ -504,6 +504,7 @@ class Browser : public TabStripModelDelegate, // cases where a tab crashes or hangs even if the beforeunload/unload haven't // successfully fired. void ClearUnloadState(TabContents* tab); +#endif // Assorted utility functions /////////////////////////////////////////////// @@ -511,6 +512,7 @@ class Browser : public TabStripModelDelegate, // receiving Browser. Creates a new Browser if none are available. Browser* GetOrCreateTabbedBrowser(); +#if defined(OS_WIN) // Creates a new popup window with its own Browser object with the // incoming sizing information. |initial_pos|'s origin() is the // window origin, and its size() is the size of the content area. |