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

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

Issue 2336463002: Make the edge where BackgroundGradientView draws a divider selectable. (Closed)
Patch Set: Use NSMaxYEdge for older SDKs, un-goof rect math. Created 4 years, 3 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 | « no previous file | chrome/browser/ui/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/ui/cocoa/background_gradient_view.h
diff --git a/chrome/browser/ui/cocoa/background_gradient_view.h b/chrome/browser/ui/cocoa/background_gradient_view.h
index 433fe1f590f7e9ce55516c2e984c8f8b2f084512..2c205a611c282d58fefc0632c52430bfea77545d 100644
--- a/chrome/browser/ui/cocoa/background_gradient_view.h
+++ b/chrome/browser/ui/cocoa/background_gradient_view.h
@@ -11,14 +11,14 @@
// A custom view that draws a 'standard' background gradient.
// Base class for other Chromium views.
-@interface BackgroundGradientView : NSView<ThemedWindowDrawing> {
- @private
- BOOL showsDivider_;
-}
+@interface BackgroundGradientView : NSView<ThemedWindowDrawing>
-// Controls whether the bar draws a dividing line at the bottom.
+// Controls whether the bar draws a dividing line.
@property(nonatomic, assign) BOOL showsDivider;
+// Controls where the bar draws a dividing line.
+@property(nonatomic, assign) NSRectEdge dividerEdge;
+
// The color used for the bottom stroke. Public so subclasses can use.
- (NSColor*)strokeColor;
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/background_gradient_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698