Chromium Code Reviews

Unified Diff: chrome/browser/ui/ash/launcher/browser_launcher_item_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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc
index 349bcf46a4d375847641f0ee5de7dadd23ff0a1c..5fd8c45480fc807bfb53775035c356e15060bac8 100644
--- a/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc
@@ -217,7 +217,8 @@ void BrowserLauncherItemController::TabInsertedAt(
void BrowserLauncherItemController::TabDetachedAt(
content::WebContents* contents,
- int index) {
+ int index,
+ bool closing_all) {
launcher_controller()->UpdateAppState(
contents, ChromeLauncherController::APP_STATE_REMOVED);
}

Powered by Google App Engine