| Index: chrome/browser/ui/browser.h
|
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
| index 5ec471dd1bf70a94c2e921f13f338be92b376a11..6de497123bee43b8e71b5de516329206c145ea45 100644
|
| --- a/chrome/browser/ui/browser.h
|
| +++ b/chrome/browser/ui/browser.h
|
| @@ -1048,12 +1048,24 @@ class Browser : public TabHandlerDelegate,
|
| void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
|
|
|
| // Return true if the window dispositions means opening a new tab.
|
| - bool ShouldOpenNewTabForWindowDisposition(WindowOpenDisposition disposition);
|
| + //
|
| + bool ShouldOpenNewTabForDisposition(WindowOpenDisposition disposition);
|
|
|
| // Depending on the disposition, return the current tab or a clone of the
|
| // current tab.
|
| TabContents* GetOrCloneTabForDisposition(WindowOpenDisposition disposition);
|
|
|
| + // Depending on the disposition, return the wrapper containing the current
|
| + // tab or a clone of the current tab.
|
| + TabContentsWrapper* GetOrCloneTabWrapperForDisposition(
|
| + WindowOpenDisposition disposition);
|
| +
|
| + // Depending on the disposition, create a new browser.
|
| + // When disposition is NEW_WINDOW, |tab_contents| will be added to
|
| + // a new browser which is created in this method.
|
| + void CreateNewBrowserForDisposition(TabContentsWrapper* tab_contents,
|
| + WindowOpenDisposition disposition);
|
| +
|
| // Sets the insertion policy of the tabstrip based on whether vertical tabs
|
| // are enabled.
|
| void UpdateTabStripModelInsertionPolicy();
|
|
|