Index: chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h |
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h |
index b0c6b6ecdf78673e6d0685f74770d944fa065f53..1c398a94d5bf850dd6a502beb2d514987d76a6af 100644 |
--- a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h |
+++ b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h |
@@ -12,7 +12,14 @@ |
#import <Cocoa/Cocoa.h> |
// A custom view that draws the background gradient for an infobar. |
-@interface InfoBarGradientView : VerticalGradientView |
+@interface InfoBarGradientView : VerticalGradientView { |
+ @private |
+ NSPoint tipApex_; |
+} |
+ |
+// The point, in this view's coordinates, at which the infobar tip is the |
+// highest and pointing at the omnibox decoration. |
+@property(assign, nonatomic) NSPoint tipApex; |
// Sets the infobar type. This will change the view's gradient. |
- (void)setInfobarType:(InfoBarDelegate::Type)infobarType; |