Chromium Code Reviews| Index: chrome/browser/ui/browser.h |
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
| index 2425b26b3fe3ff112224d93197567d14813b481d..cc2061c3a3681c8d25357ec053935ba7a642cf73 100644 |
| --- a/chrome/browser/ui/browser.h |
| +++ b/chrome/browser/ui/browser.h |
| @@ -1031,12 +1031,21 @@ 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. |
| + void CreateNewBrowserForDisposition(TabContentsWrapper* tab_contents, |
| + WindowOpenDisposition disposition); |
|
Ben Goodger (Google)
2011/05/31 16:00:00
You don't note here what happens to |tab_contents|
shinyak (Google)
2011/06/09 02:29:04
Done.
|
| + |
| // Sets the insertion policy of the tabstrip based on whether vertical tabs |
| // are enabled. |
| void UpdateTabStripModelInsertionPolicy(); |