Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm |
index 5a70b3940eb34aa55558cbb459fa827e4839395a..dab05bbc6830c476ee1f9f8c2f5e1b14c6260638 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm |
@@ -330,11 +330,13 @@ void BrowserWindowCocoa::OnActiveTabChanged(content::WebContents* old_contents, |
content::WebContents* new_contents, |
int index, |
int reason) { |
+ [controller_ onActiveTabChanged:old_contents to:new_contents]; |
// TODO(pkasting): Perhaps the code in |
// TabStripController::activateTabWithContents should move here? Or this |
// should call that (instead of TabStripModelObserverBridge doing so)? It's |
// not obvious to me why Mac doesn't handle tab changes in BrowserWindow the |
// way views and GTK do. |
+ // See http://crbug.com/340720 for discussion. |
} |
void BrowserWindowCocoa::ZoomChangedForActiveTab(bool can_show_bubble) { |