Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: chrome/browser/ui/browser_tabstrip.h

Issue 11392004: Remove TabContents from AddBlankTabAt, kill AddBlankTab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/browser_tabstrip.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_tabstrip.h
diff --git a/chrome/browser/ui/browser_tabstrip.h b/chrome/browser/ui/browser_tabstrip.h
index f4c617717f8b218fbe2ac3e3f01ceece71cf1d94..f44d7b8dc708907d3cc3f74ad27f73fa0e61da91 100644
--- a/chrome/browser/ui/browser_tabstrip.h
+++ b/chrome/browser/ui/browser_tabstrip.h
@@ -35,8 +35,9 @@ content::WebContents* GetWebContentsAt(const Browser* browser, int index);
void ActivateTabAt(Browser* browser, int index, bool user_gesture);
-TabContents* AddBlankTab(Browser* browser, bool foreground);
-TabContents* AddBlankTabAt(Browser* browser, int index, bool foreground);
+// Adds a blank tab to the tab strip of the specified browser; an |index| of -1
+// means to append it to the end of the tab strip.
+void AddBlankTabAt(Browser* browser, int index, bool foreground);
// Used by extensions.
bool IsTabStripEditable(Browser* browser);
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/browser_tabstrip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698