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

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

Issue 260009: Several background pattern fixes on the Mac.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « DEPS ('k') | chrome/browser/cocoa/background_gradient_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/background_gradient_view.h
===================================================================
--- chrome/browser/cocoa/background_gradient_view.h (revision 28537)
+++ chrome/browser/cocoa/background_gradient_view.h (working copy)
@@ -10,7 +10,6 @@
// A custom view that draws a 'standard' background gradient.
// Base class for other Chromium views.
-
@interface BackgroundGradientView : NSView {
@private
BOOL showsDivider_;
@@ -19,6 +18,10 @@
// The color used for the bottom stroke. Public so subclasses can use.
- (NSColor *)strokeColor;
+// Draws the background for this view. Make sure that your patternphase
+// is set up correctly in your graphics context before calling.
+- (void)drawBackground;
+
// Controls whether the bar draws a dividing line at the bottom.
@property(assign) BOOL showsDivider;
@end
« no previous file with comments | « DEPS ('k') | chrome/browser/cocoa/background_gradient_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698