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

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

Issue 155788: Infobar UI cleanup on Mac. Adds the yellow background gradient and... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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/browser/cocoa/infobar_controller.mm ('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
===================================================================
--- chrome/browser/cocoa/infobar_gradient_view.h (revision 21067)
+++ chrome/browser/cocoa/infobar_gradient_view.h (working copy)
@@ -2,25 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_COCOA_BACKGROUND_GRADIENT_VIEW_H_
-#define CHROME_BROWSER_COCOA_BACKGROUND_GRADIENT_VIEW_H_
+#ifndef CHROME_BROWSER_COCOA_INFOBAR_GRADIENT_VIEW_H_
+#define CHROME_BROWSER_COCOA_INFOBAR_GRADIENT_VIEW_H_
#import <Cocoa/Cocoa.h>
-#import "third_party/GTM/AppKit/GTMTheme.h"
-// A custom view that draws a 'standard' background gradient.
-// Base class for other Chromium views.
+// A custom view that draws the yellow background gradient for an infobar.
-@interface BackgroundGradientView : NSView {
- @private
- BOOL showsDivider_;
+@interface InfoBarGradientView : NSView {
}
-
-// The color used for the bottom stroke. Public so subclasses can use.
-- (NSColor *)strokeColor;
-
-// Controls whether the bar draws a dividing line at the bottom.
-@property(assign) BOOL showsDivider;
@end
-#endif // CHROME_BROWSER_COCOA_BACKGROUND_GRADIENT_VIEW_H_
+#endif // CHROME_BROWSER_COCOA_INFOBAR_GRADIENT_VIEW_H_
« no previous file with comments | « chrome/browser/cocoa/infobar_controller.mm ('k') | chrome/browser/cocoa/infobar_gradient_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698