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

Side by Side Diff: chrome/browser/cocoa/third_party/NSBezierPath+MCAdditions.h

Issue 2805055: [Mac] Use Core Graphics to draw the close button used within tabs, infobars, ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 //
2 // NSBezierPath+MCAdditions.h
3 //
4 // Created by Sean Patrick O'Brien on 4/1/08.
5 // Copyright 2008 MolokoCacao. All rights reserved.
6 //
7
8 #import <Cocoa/Cocoa.h>
9
10
11 @interface NSBezierPath (MCAdditions)
12
13 + (NSBezierPath *)bezierPathWithCGPath:(CGPathRef)pathRef;
14 - (CGPathRef)cgPath;
15
16 - (NSBezierPath *)pathWithStrokeWidth:(CGFloat)strokeWidth;
17
18 - (void)fillWithInnerShadow:(NSShadow *)shadow;
19 - (void)drawBlurWithColor:(NSColor *)color radius:(CGFloat)radius;
20
21 - (void)strokeInside;
22 - (void)strokeInsideWithinRect:(NSRect)clipRect;
23
24 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698