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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 1130603005: [PermissionBubble] Remove bubble from previous manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Managers can be NULL at shutdown - account for that. Created 5 years, 7 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/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.

Powered by Google App Engine
This is Rietveld 408576698