#ifndef UI_GFX_IMAGE_IMAGE_SKIA_UTIL_MAC_H_
#define UI_GFX_IMAGE_IMAGE_SKIA_UTIL_MAC_H_
#include <ApplicationServices/ApplicationServices.h>
#include "ui/gfx/gfx_export.h"
#ifdef __LP64__
typedef CGSize NSSize;
#else
typedef struct _NSSize NSSize;
#endif
#ifdef __OBJC__
@class NSImage;
#else
class NSImage;
#endif
namespace gfx {
class ImageSkia;
GFX_EXPORT gfx::ImageSkia ImageSkiaFromNSImage(NSImage* image);
GFX_EXPORT gfx::ImageSkia ImageSkiaFromResizedNSImage(NSImage* image,
NSSize size);
GFX_EXPORT NSImage* NSImageFromImageSkia(const gfx::ImageSkia& image_skia);
GFX_EXPORT NSImage* NSImageFromImageSkiaWithColorSpace(
const gfx::ImageSkia& image_skia,
CGColorSpaceRef color_space);
}
#endif