Chromium Code Reviews| Index: chrome/browser/ui/cocoa/base_bubble_controller.h |
| diff --git a/chrome/browser/ui/cocoa/base_bubble_controller.h b/chrome/browser/ui/cocoa/base_bubble_controller.h |
| index 2da9428eeb3777bb0c4fe4ea94ccb6c58a04d1c9..1339e9b2ba17d2e9cb8cd64a6da76a36f5eb695c 100644 |
| --- a/chrome/browser/ui/cocoa/base_bubble_controller.h |
| +++ b/chrome/browser/ui/cocoa/base_bubble_controller.h |
| @@ -35,6 +35,9 @@ class TabStripModelObserverBridge; |
| id eventTap_; |
| // A notification observer that gets triggered when any window resigns key. |
| id resignationObserver_; |
| + // The controlled window should be the key window when it's opened. True by |
| + // default. |
| + bool shouldOpenKeyWindow_; |
|
Nico
2013/04/25 22:57:49
shouldOpenAsKeyWindow_
tkent
2013/04/29 22:24:19
Done.
|
| } |
| @property(nonatomic, readonly) NSWindow* parentWindow; |
| @@ -42,6 +45,7 @@ class TabStripModelObserverBridge; |
| // arrow tip points. |
| @property(nonatomic, assign) NSPoint anchorPoint; |
| @property(nonatomic, readonly) InfoBubbleView* bubble; |
| +@property(nonatomic, assign) bool shouldOpenKeyWindow; |
|
Nico
2013/04/25 22:57:49
likewise
tkent
2013/04/29 22:24:19
Done.
|
| // Creates a bubble. |nibPath| is just the basename, e.g. @"FirstRunBubble". |
| // |anchoredAt| is in screen space. You need to call -showWindow: to make the |