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

Unified Diff: skia/ext/skia_utils_mac.h

Issue 7130001: Make infobar background gray (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_background.cc ('k') | skia/ext/skia_utils_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/skia_utils_mac.h
===================================================================
--- skia/ext/skia_utils_mac.h (revision 88097)
+++ skia/ext/skia_utils_mac.h (working copy)
@@ -26,9 +26,11 @@
#ifdef __OBJC__
@class NSImage;
@class NSImageRep;
+@class NSColor;
#else
class NSImage;
class NSImageRep;
+class NSColor;
#endif
namespace gfx {
@@ -62,6 +64,9 @@
// Converts ARGB to CGColorRef.
CGColorRef SkColorToCGColorRef(SkColor color);
+// Converts ARGB to NSColor.
+NSColor* SkColorToCalibratedNSColor(SkColor color);
+
// Converts a CGImage to a SkBitmap.
SkBitmap CGImageToSkBitmap(CGImageRef image);
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_background.cc ('k') | skia/ext/skia_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698