Index: chrome/browser/ui/cocoa/browser_window_controller.h |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h |
index b9676e175e7d5de6c26466c83f302f0bbcb01013..1597b0f3fc3106a4c1c63734bd5a0ba68b9f1c41 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller.h |
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h |
@@ -253,6 +253,11 @@ class Command; |
// Sets whether or not the current page is translated. |
- (void)setCurrentPageIsTranslated:(BOOL)on; |
+// Invoked via BrowserWindowCocoa::OnActiveTabChanged, happens whenever a |
+// new tab becomes active. |
+- (void)onActiveTabChanged:(content::WebContents*)oldContents |
+ to:(content::WebContents*)newContents; |
+ |
// Happens when the zoom level is changed in the active tab, the active tab is |
// changed, or a new browser window or tab is created. |canShowBubble| denotes |
// whether it would be appropriate to show a zoom bubble or not. |