| 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 48fefc832bcc1fc013adb96d25c8142e796c5836..f78ec6a764c2ad5725b2e1bb1b3db6ba445bf88d 100644
|
| --- a/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h
|
| +++ b/chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h
|
| @@ -13,13 +13,15 @@
|
| // A custom view that draws the background gradient for an infobar.
|
| @interface InfoBarGradientView : VerticalGradientView {
|
| @private
|
| - NSPoint tipApex_;
|
| + CGFloat arrowHeight_;
|
| + CGFloat arrowHalfWidth_;
|
| + CGFloat arrowX_;
|
| BOOL hasTip_;
|
| }
|
|
|
| -// The point, in window coordinates, at which the infobar tip is the highest and
|
| -// pointing at the omnibox decoration.
|
| -@property(assign, nonatomic) NSPoint tipApex;
|
| +@property(assign, nonatomic) CGFloat arrowHeight;
|
| +@property(assign, nonatomic) CGFloat arrowHalfWidth;
|
| +@property(assign, nonatomic) CGFloat arrowX;
|
| @property(assign, nonatomic) BOOL hasTip;
|
|
|
| // Sets the infobar type. This will change the view's gradient.
|
|
|