Index: chrome/browser/ui/panels/panel_window_controller_cocoa.h |
diff --git a/chrome/browser/ui/panels/panel_window_controller_cocoa.h b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
index 21fee91f6e4af309b10b1ffb04e520f912116775..fca2f5537fc51e450dd9582a45d5ac8e9868c43a 100644 |
--- a/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
+++ b/chrome/browser/ui/panels/panel_window_controller_cocoa.h |
@@ -55,6 +55,7 @@ class PanelBrowserWindowCocoa; |
BOOL throbberShouldSpin_; |
BOOL playingMinimizeAnimation_; |
float animationStopToShowTitlebarOnly_; |
+ BOOL canBecomeKeyWindow_; |
} |
// Load the browser window nib and do any Cocoa-specific initialization. |
@@ -132,6 +133,9 @@ class PanelBrowserWindowCocoa; |
// Removes the Key status from the panel to some other window. |
- (void)deactivate; |
+// Changes the canBecomeKeyWindow state |
+- (void)preventBecomingKeyWindow:(BOOL)prevent; |
+ |
// See Panel::FullScreenModeChanged. |
- (void)fullScreenModeChanged:(bool)isFullScreen; |