summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 06:44:39 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 06:44:39 +0000
commit5a4940befecc4e2c5e73ade51683ced6b2247ee6 (patch)
treef198619bbca9cc404ae1270866d779b32dc1c3cb /chrome/browser/browser.h
parent53761253f5a95f72bbd2bf5acaf91a0cbe6a55f7 (diff)
downloadchromium_src-5a4940befecc4e2c5e73ade51683ced6b2247ee6.zip
chromium_src-5a4940befecc4e2c5e73ade51683ced6b2247ee6.tar.gz
chromium_src-5a4940befecc4e2c5e73ade51683ced6b2247ee6.tar.bz2
honor index in createTab()
BUG=11200 R=brettw,beng Review URL: http://codereview.chromium.org/99300 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 7e2a435..2a5db13 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -216,11 +216,13 @@ class Browser : public TabStripModelDelegate,
// Tab adding/showing functions /////////////////////////////////////////////
// Add a new tab with the specified URL. If instance is not null, its process
- // will be used to render the tab.
+ // will be used to render the tab. |force_index| is passed through to
+ // TabStripModel::AddTabContents and it's meaning is documented with it's
+ // declaration.
TabContents* AddTabWithURL(
const GURL& url, const GURL& referrer,
PageTransition::Type transition, bool foreground, int index,
- SiteInstance* instance);
+ bool force_index, SiteInstance* instance);
// Add a new tab, given a NavigationController. A TabContents appropriate to
// display the last committed entry is created and returned.