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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model_observer.h

Issue 17382005: Unbreak tabs.onRemove extension API in face of fast tab closure Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't modify content Created 7 years, 6 months 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/tabs/tab_strip_model.cc ('k') | chrome/browser/ui/tabs/tab_strip_model_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tabs/tab_strip_model_observer.h
diff --git a/chrome/browser/ui/tabs/tab_strip_model_observer.h b/chrome/browser/ui/tabs/tab_strip_model_observer.h
index 52b656c365f5e37b88826f5ef2278b32f6fc6786..722cbbe4007a16fee81b5ed16f3dee6e6e37d5fd 100644
--- a/chrome/browser/ui/tabs/tab_strip_model_observer.h
+++ b/chrome/browser/ui/tabs/tab_strip_model_observer.h
@@ -71,7 +71,9 @@ class TabStripModelObserver {
// be inserted in another TabStripModel. The implementer should take whatever
// action is necessary to deal with the WebContents no longer being
// present.
- virtual void TabDetachedAt(content::WebContents* contents, int index);
+ virtual void TabDetachedAt(content::WebContents* contents,
+ int index,
+ bool closing_all);
Avi (use Gerrit) 2013/06/19 14:18:34 What does "closing_all" mean in this context? This
// The active WebContents is about to change from |old_contents|.
// This gives observers a chance to prepare for an impending switch before it
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model.cc ('k') | chrome/browser/ui/tabs/tab_strip_model_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698