| Index: chrome/browser/ui/cocoa/info_bubble_view.h
|
| diff --git a/chrome/browser/ui/cocoa/info_bubble_view.h b/chrome/browser/ui/cocoa/info_bubble_view.h
|
| index 82b5bc9af4a21a0833acd4fd83c7aab8e9b73b4d..b7c9a761dd2ffd65bca65b657ca9b6a8e56d735f 100644
|
| --- a/chrome/browser/ui/cocoa/info_bubble_view.h
|
| +++ b/chrome/browser/ui/cocoa/info_bubble_view.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #import <Cocoa/Cocoa.h>
|
|
|
| +#include "base/memory/scoped_nsobject.h"
|
| +
|
| namespace info_bubble {
|
|
|
| // These values are in view coordinates.
|
| @@ -33,6 +35,10 @@ enum BubbleAlignment {
|
| kAlignArrowToAnchor,
|
| // The edge nearest to the arrow is lined up with the anchor point.
|
| kAlignEdgeToAnchorEdge,
|
| + // Align the right edge to the anchor point.
|
| + kAlignRightEdgeToAnchorEdge,
|
| + // Align the left edge to the anchor point.
|
| + kAlignLeftEdgeToAnchorEdge,
|
| };
|
|
|
| } // namespace info_bubble
|
| @@ -44,6 +50,7 @@ enum BubbleAlignment {
|
| info_bubble::BubbleArrowLocation arrowLocation_;
|
| info_bubble::BubbleAlignment alignment_;
|
| info_bubble::CornerFlags cornerFlags_;
|
| + scoped_nsobject<NSColor> backgroundColor_;
|
| }
|
|
|
| @property(assign, nonatomic) info_bubble::BubbleArrowLocation arrowLocation;
|
| @@ -53,6 +60,10 @@ enum BubbleAlignment {
|
| // Returns the point location in view coordinates of the tip of the arrow.
|
| - (NSPoint)arrowTip;
|
|
|
| +// Gets and sets the bubble's background color.
|
| +- (NSColor*)backgroundColor;
|
| +- (void)setBackgroundColor:(NSColor*)backgroundColor;
|
| +
|
| @end
|
|
|
| #endif // CHROME_BROWSER_UI_COCOA_INFO_BUBBLE_VIEW_H_
|
|
|