diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 23:22:33 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 23:22:33 +0000 |
commit | 0735266658f996210b6f43142ce7f4c55f47ae13 (patch) | |
tree | d4e2c01970b8c7df5f6428f2aac188515a4ea509 /chrome/browser/cocoa/background_gradient_view.h | |
parent | 9993401b31ffd1b18f100982f8d75824019f9a11 (diff) | |
download | chromium_src-0735266658f996210b6f43142ce7f4c55f47ae13.zip chromium_src-0735266658f996210b6f43142ce7f4c55f47ae13.tar.gz chromium_src-0735266658f996210b6f43142ce7f4c55f47ae13.tar.bz2 |
Initial support for theming on Mac OS X.
Patch by alcor.
Original review: http://codereview.chromium.org/149204
BUG=http://crbug.com/14451
TEST=Open a theme, watch it apply.
Review URL: http://codereview.chromium.org/155355
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20560 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/background_gradient_view.h')
-rw-r--r-- | chrome/browser/cocoa/background_gradient_view.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/background_gradient_view.h b/chrome/browser/cocoa/background_gradient_view.h index efff342..9c04b4d 100644 --- a/chrome/browser/cocoa/background_gradient_view.h +++ b/chrome/browser/cocoa/background_gradient_view.h @@ -6,11 +6,21 @@ #define CHROME_BROWSER_COCOA_BACKGROUND_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. -@interface BackgroundGradientView : NSView +@interface BackgroundGradientView : NSView { + @private + BOOL showsDivider_; +} + +// 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_ |