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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/third_party/NSBezierPath+MCAdditions.h
===================================================================
--- chrome/browser/cocoa/third_party/NSBezierPath+MCAdditions.h (revision 0)
+++ chrome/browser/cocoa/third_party/NSBezierPath+MCAdditions.h (revision 0)
@@ -0,0 +1,24 @@
+//
+// NSBezierPath+MCAdditions.h
+//
+// Created by Sean Patrick O'Brien on 4/1/08.
+// Copyright 2008 MolokoCacao. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface NSBezierPath (MCAdditions)
+
++ (NSBezierPath *)bezierPathWithCGPath:(CGPathRef)pathRef;
+- (CGPathRef)cgPath;
+
+- (NSBezierPath *)pathWithStrokeWidth:(CGFloat)strokeWidth;
+
+- (void)fillWithInnerShadow:(NSShadow *)shadow;
+- (void)drawBlurWithColor:(NSColor *)color radius:(CGFloat)radius;
+
+- (void)strokeInside;
+- (void)strokeInsideWithinRect:(NSRect)clipRect;
+
+@end
Property changes on: chrome/browser/cocoa/third_party/NSBezierPath+MCAdditions.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698