summaryrefslogtreecommitdiffstats
path: root/ui/gfx/mac
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 17:26:49 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 17:26:49 +0000
commit4e402ae2d4b7ce8194f690b40fe147a3b3c01c6c (patch)
treeda7cafa293a030e763239b707618cd22246e6840 /ui/gfx/mac
parentf6ed3df0b70c1e148d8ebd05ae437d72fc69aee8 (diff)
downloadchromium_src-4e402ae2d4b7ce8194f690b40fe147a3b3c01c6c.zip
chromium_src-4e402ae2d4b7ce8194f690b40fe147a3b3c01c6c.tar.gz
chromium_src-4e402ae2d4b7ce8194f690b40fe147a3b3c01c6c.tar.bz2
mac: Components build for ui, easy part
BUG=90078 TEST=none Review URL: http://codereview.chromium.org/7531019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/mac')
-rw-r--r--ui/gfx/mac/nsimage_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/gfx/mac/nsimage_cache.h b/ui/gfx/mac/nsimage_cache.h
index 83179d2..f89a230 100644
--- a/ui/gfx/mac/nsimage_cache.h
+++ b/ui/gfx/mac/nsimage_cache.h
@@ -6,6 +6,8 @@
#define UI_GFX_MAC_NSIMAGE_CACHE_H_
#pragma once
+#include "ui/ui_api.h"
+
#ifdef __OBJC__
@class NSImage;
@class NSString;
@@ -23,7 +25,7 @@ namespace gfx {
// - This should only be called on the main thread.
// - The caller should retain the image if they want to keep it around, as
// the cache could have limit on size/lifetime, etc.
-NSImage* GetCachedImageWithName(NSString* name);
+UI_API NSImage* GetCachedImageWithName(NSString* name);
// Clears the image cache.
void ClearCachedImages(void);