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

Side by Side Diff: third_party/molokocacao/NSBezierPath+MCAdditions.h

Issue 10556030: mac: Fix close button appearance in HiDPI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: . Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // 1 //
2 // NSBezierPath+MCAdditions.h 2 // NSBezierPath+MCAdditions.h
3 // 3 //
4 // Created by Sean Patrick O'Brien on 4/1/08. 4 // Created by Sean Patrick O'Brien on 4/1/08.
5 // Copyright 2008 MolokoCacao. All rights reserved. 5 // Copyright 2008 MolokoCacao. All rights reserved.
6 // 6 //
7 7
8 #ifndef THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_ 8 #ifndef THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_
9 #define THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_ 9 #define THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_
10 10
11 #import <Cocoa/Cocoa.h> 11 #import <Cocoa/Cocoa.h>
12 12
13 @interface NSBezierPath (MCAdditions) 13 @interface NSBezierPath (MCAdditions)
14 14
15 + (NSBezierPath*)bezierPathWithCGPath:(CGPathRef)pathRef; 15 + (NSBezierPath*)bezierPathWithCGPath:(CGPathRef)pathRef;
16 16
17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth; 17 - (NSBezierPath*)pathWithStrokeWidth:(CGFloat)strokeWidth;
18 18
19 - (void)fillWithInnerShadow:(NSShadow *)shadow scale:(float)scale; 19 - (void)fillWithInnerShadow:(NSShadow *)shadow;
20 - (void)drawBlurWithColor:(NSColor*)color radius:(CGFloat)radius; 20 - (void)drawBlurWithColor:(NSColor*)color radius:(CGFloat)radius;
21 21
22 - (void)strokeInside; 22 - (void)strokeInside;
23 - (void)strokeInsideWithinRect:(NSRect)clipRect; 23 - (void)strokeInsideWithinRect:(NSRect)clipRect;
24 24
25 @end 25 @end
26 26
27 #endif // THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_ 27 #endif // THIRD_PARTY_MOLOKOCACAO_NSBEZIERPATH_MCADDITIONS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/hover_close_button.mm ('k') | third_party/molokocacao/NSBezierPath+MCAdditions.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698