| Index: chrome/browser/ui/tabs/tab_strip_model_delegate.h
|
| diff --git a/chrome/browser/ui/tabs/tab_strip_model_delegate.h b/chrome/browser/ui/tabs/tab_strip_model_delegate.h
|
| index cc2f7d2b47fbffd752a0fd5ce718e885dce4d8fd..d3f78f0f60a42acd9d7bcc64d03095f8adc013d7 100644
|
| --- a/chrome/browser/ui/tabs/tab_strip_model_delegate.h
|
| +++ b/chrome/browser/ui/tabs/tab_strip_model_delegate.h
|
| @@ -11,6 +11,7 @@
|
|
|
| class Browser;
|
| class DockInfo;
|
| +class GURL;
|
|
|
| namespace content {
|
| class WebContents;
|
| @@ -47,9 +48,10 @@ class TabStripModelDelegate {
|
|
|
| virtual ~TabStripModelDelegate() {}
|
|
|
| - // Adds what the delegate considers to be a blank tab to the model. An |index|
|
| - // value of -1 means to append the contents to the end of the tab strip.
|
| - virtual void AddBlankTabAt(int index, bool foreground) = 0;
|
| + // Adds a tab to the model and loads |url| in the tab. If |url| is an empty
|
| + // URL, then the new tab-page is loaded instead. An |index| value of -1
|
| + // means to append the contents to the end of the tab strip.
|
| + virtual void AddURLTabAt(const GURL& url, int index, bool foreground) = 0;
|
|
|
| // Asks for a new TabStripModel to be created and the given web contentses to
|
| // be added to it. Its size and position are reflected in |window_bounds|.
|
|
|