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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm

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
Index: chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm
diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm
index 8d113558c317bb9d40fa7f04c9f8f673997770c2..3a8df9a32dce0fbbb25df2f42af18d18961953fe 100644
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm
@@ -43,7 +43,8 @@ void TabStripModelObserverBridge::TabClosingAt(TabStripModel* tab_strip_model,
}
void TabStripModelObserverBridge::TabDetachedAt(WebContents* contents,
- int index) {
+ int index,
+ bool closing_all) {
if ([controller_ respondsToSelector:
@selector(tabDetachedWithContents:atIndex:)]) {
[controller_ tabDetachedWithContents:contents atIndex:index];

Powered by Google App Engine
This is Rietveld 408576698