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

Unified Diff: chrome/browser/tabs/tab_strip_model.h

Issue 5581010: Merge 68646 - Makes instant run before unload listeners.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/597/src/
Patch Set: Created 10 years 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/tab_contents/tab_contents_delegate.cc ('k') | chrome/browser/tabs/tab_strip_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tabs/tab_strip_model.h
===================================================================
--- chrome/browser/tabs/tab_strip_model.h (revision 68655)
+++ chrome/browser/tabs/tab_strip_model.h (working copy)
@@ -195,9 +195,11 @@
void ReplaceNavigationControllerAt(int index,
TabContentsWrapper* contents);
- // Replaces the tab contents at |index| with |new_contents|. This deletes the
- // TabContents currently at |index|.
- void ReplaceTabContentsAt(int index, TabContentsWrapper* new_contents);
+ // Replaces the tab contents at |index| with |new_contents|. The
+ // TabContentsWrapper that was at |index| is returned and ownership returns
+ // to the caller.
+ TabContentsWrapper* ReplaceTabContentsAt(int index,
+ TabContentsWrapper* new_contents);
// Detaches the TabContents at the specified index from this strip. The
// TabContents is not destroyed, just removed from display. The caller is
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.cc ('k') | chrome/browser/tabs/tab_strip_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698