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

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

Issue 2831004: Managed preferences warning banner for Mac preferences dialog (Closed)
Patch Set: rebase, take care of comments. Created 10 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
« no previous file with comments | « chrome/app/nibs/Preferences.xib ('k') | chrome/browser/cocoa/infobar_gradient_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/infobar_gradient_view.h
diff --git a/chrome/browser/cocoa/infobar_gradient_view.h b/chrome/browser/cocoa/infobar_gradient_view.h
index f80650da14ac55af035b78ec76e5d45446729e30..27c303d2c5480bb92809b53fe14148c278636394 100644
--- a/chrome/browser/cocoa/infobar_gradient_view.h
+++ b/chrome/browser/cocoa/infobar_gradient_view.h
@@ -5,19 +5,14 @@
#ifndef CHROME_BROWSER_COCOA_INFOBAR_GRADIENT_VIEW_H_
#define CHROME_BROWSER_COCOA_INFOBAR_GRADIENT_VIEW_H_
+#import "chrome/browser/cocoa/vertical_gradient_view.h"
+
#import <Cocoa/Cocoa.h>
// A custom view that draws the background gradient for an infobar.
-// The default is a yellow gradient, but a custom gradient can also be set.
-@interface InfoBarGradientView : NSView {
- @private
- // The gradient to draw.
- NSGradient* gradient_;
+@interface InfoBarGradientView : VerticalGradientView {
}
-// Set a custom gradient for the view.
-- (void)setGradient:(NSGradient*)gradient;
-
@end
#endif // CHROME_BROWSER_COCOA_INFOBAR_GRADIENT_VIEW_H_
« no previous file with comments | « chrome/app/nibs/Preferences.xib ('k') | chrome/browser/cocoa/infobar_gradient_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698