Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1263)

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h

Issue 7130001: Make infobar background gray (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/ui/cocoa/infobars/infobar_controller.mm ('k') | chrome/browser/ui/cocoa/infobars/infobar_gradient_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698