Index: chrome/browser/ui/cocoa/browser_window_controller_private.h |
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.h b/chrome/browser/ui/cocoa/browser_window_controller_private.h |
index f0a4a3dd8fe5ec26a5872459ba641f26aa1c600f..e5de062a9c094a177ba07c5594109fd806b117e3 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.h |
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.h |
@@ -104,6 +104,11 @@ |
regularWindow:(NSWindow*)regularWindow |
fullscreenWindow:(NSWindow*)fullscreenWindow; |
+// Called when a permission bubble closes, and informs the presentation |
+// controller that the dropdown can be hidden. (The dropdown should never be |
+// hidden while a permissions bubble is visible.) |
+- (void)permissionBubbleWindowWillClose:(NSNotification*)notification; |
+ |
// Sets presentation mode, creating the PresentationModeController if needed and |
// forcing a relayout. If |forceDropdown| is YES, this method will always |
// initially show the floating bar when entering presentation mode, even if the |
@@ -133,6 +138,10 @@ |
- (void)enableBarVisibilityUpdates; |
- (void)disableBarVisibilityUpdates; |
+// If there are no visibility locks and bar visibity updates are enabled, hides |
+// the bar with |animation| and |delay|. Otherwise, does nothing. |
+- (void)hideOverlayIfPossibleWithAnimation:(BOOL)animation delay:(BOOL)delay; |
+ |
// The opacity for the toolbar divider; 0 means that it shouldn't be shown. |
- (CGFloat)toolbarDividerOpacity; |