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

Unified Diff: chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc

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/views/tabs/browser_tab_strip_controller.cc
diff --git a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
index c98da98fe39714f127e721b53ccf24fdde03719e..a31d9b97cbac1953350d802e6faf1c08f8dfeb8e 100644
--- a/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
+++ b/chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
@@ -389,7 +389,8 @@ void BrowserTabStripController::TabInsertedAt(WebContents* contents,
}
void BrowserTabStripController::TabDetachedAt(WebContents* contents,
- int model_index) {
+ int model_index,
+ bool closing_all) {
// Cancel any pending tab transition.
hover_tab_selector_.CancelTabTransition();

Powered by Google App Engine
This is Rietveld 408576698