summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
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.