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 b3b918a0b406acf54d0245e18a0defdf60690b79..b4538b39a1117af77f9f1cdf21411557e2e479d7 100644 |
--- a/chrome/browser/ui/cocoa/info_bubble_view.h |
+++ b/chrome/browser/ui/cocoa/info_bubble_view.h |
@@ -8,6 +8,7 @@ |
#import <Cocoa/Cocoa.h> |
#include "base/mac/scoped_nsobject.h" |
+#include "ui/views/bubble/bubble_border.h" |
namespace info_bubble { |
@@ -24,13 +25,6 @@ enum CornerFlags { |
kRoundedAllCorners = kRoundedTopCorners | kRoundedBottomCorners, |
}; |
-enum BubbleArrowLocation { |
- kTopLeft, |
- kTopCenter, |
- kTopRight, |
- kNoArrow, |
-}; |
- |
enum BubbleAlignment { |
// The tip of the arrow points to the anchor point. |
kAlignArrowToAnchor, |
@@ -48,13 +42,13 @@ enum BubbleAlignment { |
// This is where nonrectangular drawing happens. |
@interface InfoBubbleView : NSView { |
@private |
- info_bubble::BubbleArrowLocation arrowLocation_; |
+ views::BubbleBorder::Arrow arrowLocation_; |
info_bubble::BubbleAlignment alignment_; |
info_bubble::CornerFlags cornerFlags_; |
base::scoped_nsobject<NSColor> backgroundColor_; |
} |
-@property(assign, nonatomic) info_bubble::BubbleArrowLocation arrowLocation; |
+@property(assign, nonatomic) views::BubbleBorder::Arrow arrowLocation; |
@property(assign, nonatomic) info_bubble::BubbleAlignment alignment; |
@property(assign, nonatomic) info_bubble::CornerFlags cornerFlags; |