| Index: chrome/browser/cocoa/base_bubble_controller.h
|
| diff --git a/chrome/browser/cocoa/base_bubble_controller.h b/chrome/browser/cocoa/base_bubble_controller.h
|
| index 51cfa586f03522233bc841bef6d045177fcc066f..b00e49cf52ce817893de65530b22e97dc7624698 100644
|
| --- a/chrome/browser/cocoa/base_bubble_controller.h
|
| +++ b/chrome/browser/cocoa/base_bubble_controller.h
|
| @@ -26,6 +26,9 @@
|
| IBOutlet InfoBubbleView* bubble_; // to set arrow position
|
| }
|
|
|
| +@property (nonatomic, readonly) NSWindow* parentWindow;
|
| +@property (nonatomic, readonly) InfoBubbleView* bubble;
|
| +
|
| // Creates a bubble. |nibPath| is just the basename, e.g. @"FirstRunBubble".
|
| // |anchoredAt| is in screen space. You need to call -showWindow: to make the
|
| // bubble visible. It will autorelease itself when the user dismisses the
|
| @@ -46,6 +49,11 @@
|
| offset:(NSPoint)offset;
|
|
|
|
|
| -@property (nonatomic, readonly) InfoBubbleView* bubble;
|
| +// For subclasses that do not load from a XIB, this will simply set the instance
|
| +// variables appropriately. This will also replace the |-[self window]|'s
|
| +// contentView with an instance of InfoBubbleView.
|
| +- (id)initWithWindow:(NSWindow*)theWindow
|
| + parentWindow:(NSWindow*)parentWindow
|
| + anchoredAt:(NSPoint)anchoredAt;
|
|
|
| @end
|
|
|