Index: chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h |
=================================================================== |
--- chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h (revision 88097) |
+++ chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h (working copy) |
@@ -6,12 +6,17 @@ |
#define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_ |
#pragma once |
+#include "chrome/browser/tab_contents/infobar_delegate.h" |
#import "chrome/browser/ui/cocoa/vertical_gradient_view.h" |
#import <Cocoa/Cocoa.h> |
// A custom view that draws the background gradient for an infobar. |
@interface InfoBarGradientView : VerticalGradientView |
+ |
+// Sets the infobar type. This will change the view's gradient. |
+- (void)setInfobarType:(InfoBarDelegate::Type)infobarType; |
+ |
@end |
#endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_ |