summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/info_bubble_window.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/cocoa/info_bubble_window.mm')
-rw-r--r--chrome/browser/ui/cocoa/info_bubble_window.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/info_bubble_window.mm b/chrome/browser/ui/cocoa/info_bubble_window.mm
index 40f173c..6e0e03a 100644
--- a/chrome/browser/ui/cocoa/info_bubble_window.mm
+++ b/chrome/browser/ui/cocoa/info_bubble_window.mm
@@ -139,6 +139,12 @@ class AppNotificationBridge : public NotificationObserver {
return YES;
}
+// Lets the traffic light buttons on the browser window keep their "active"
+// state while an info bubble is open. Only has an effect on 10.7.
+- (BOOL)_sharesParentKeyState {
+ return YES;
+}
+
- (void)close {
// Block the window from receiving events while it fades out.
closing_ = YES;