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 8bff2255bd9d4e4c90bc8128e8e78ced584f54e9..b4d8bd010ea7f9317f66d82fb38af2593a5bd6ac 100644 |
--- a/chrome/browser/ui/cocoa/base_bubble_controller.h |
+++ b/chrome/browser/ui/cocoa/base_bubble_controller.h |
@@ -5,6 +5,7 @@ |
#import <Cocoa/Cocoa.h> |
#include "base/memory/scoped_ptr.h" |
+#include "components/bubble/bubble_reference.h" |
@class InfoBubbleView; |
class TabStripModelObserverBridge; |
@@ -45,6 +46,7 @@ class TabStripModelObserverBridge; |
BOOL shouldOpenAsKeyWindow_; |
// The bubble window should close if it (or its parent) resigns key status. |
BOOL shouldCloseOnResignKey_; |
+ BubbleReference bubbleReference_; |
} |
@property(nonatomic, assign) NSWindow* parentWindow; |
@@ -55,6 +57,8 @@ class TabStripModelObserverBridge; |
@property(nonatomic, assign) BOOL shouldOpenAsKeyWindow; |
// Controls if the bubble auto-closes if the user clicks outside the bubble. |
@property(nonatomic, assign) BOOL shouldCloseOnResignKey; |
+// A reference for bubbles that are managed by the BubbleManager. |
+@property(nonatomic, assign) BubbleReference bubbleReference; |
// Creates a bubble. |nibPath| is just the basename, e.g. @"FirstRunBubble". |
// |anchoredAt| is in screen space. You need to call -showWindow: to make the |