diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-26 15:30:28 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-26 15:30:28 +0000 |
commit | 3d1104f27426048f4a951a614507b047fc7fd416 (patch) | |
tree | 559ee421338ba8fd85ea072bcde1003602086f30 /chrome/browser/browser.h | |
parent | 10f2e7c37e44d513524f816a230d47b503362460 (diff) | |
download | chromium_src-3d1104f27426048f4a951a614507b047fc7fd416.zip chromium_src-3d1104f27426048f4a951a614507b047fc7fd416.tar.gz chromium_src-3d1104f27426048f4a951a614507b047fc7fd416.tar.bz2 |
Allow live tabs to be dragged out of a window. Change TabStripModel such that
the caller must now explicitly show the newly created browser rather than it
happening automatically.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index d41b537..7aafd0a 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -371,9 +371,9 @@ class Browser : public TabStripModelDelegate, // Overridden from TabStripModelDelegate: virtual GURL GetBlankTabURL() const; - virtual void CreateNewStripWithContents(TabContents* detached_contents, - const gfx::Rect& window_bounds, - const DockInfo& dock_info); + virtual Browser* CreateNewStripWithContents(TabContents* detached_contents, + const gfx::Rect& window_bounds, + const DockInfo& dock_info); virtual int GetDragActions() const; // Construct a TabContents for a given URL, profile and transition type. // If instance is not null, its process will be used to render the tab. |