summaryrefslogtreecommitdiffstats
path: root/ui/base/theme_provider.h
diff options
context:
space:
mode:
authorsimon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 22:37:42 +0000
committersimon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 22:37:42 +0000
commit68c7630b3ae6738e5b9ebb1998b3184fa930463c (patch)
tree6e2e9db98e7d0149f85e315c2668146b4aa42100 /ui/base/theme_provider.h
parentbc2eeb4a236eab44d172d4737d16c9c237db4210 (diff)
downloadchromium_src-68c7630b3ae6738e5b9ebb1998b3184fa930463c.zip
chromium_src-68c7630b3ae6738e5b9ebb1998b3184fa930463c.tar.gz
chromium_src-68c7630b3ae6738e5b9ebb1998b3184fa930463c.tar.bz2
Move RefCountedMemory Class to Base namespace
BUG=none TEST=compiles chrome, browser_tests and ui_tests Review URL: http://codereview.chromium.org/10272004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/theme_provider.h')
-rw-r--r--ui/base/theme_provider.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h
index 1a5c9980..82037d70 100644
--- a/ui/base/theme_provider.h
+++ b/ui/base/theme_provider.h
@@ -25,9 +25,12 @@ typedef struct _GdkColor GdkColor;
typedef struct _GdkPixbuf GdkPixbuf;
#endif // OS_*
-class RefCountedMemory;
class SkBitmap;
+namespace base {
+class RefCountedMemory;
+}
+
namespace ui {
////////////////////////////////////////////////////////////////////////////////
@@ -65,7 +68,7 @@ class UI_EXPORT ThemeProvider {
// Reads the image data from the theme file into the specified vector. Only
// valid for un-themed resources and the themed IDR_THEME_NTP_* in most
// implementations of ThemeProvider. Returns NULL on error.
- virtual RefCountedMemory* GetRawData(int id) const = 0;
+ virtual base::RefCountedMemory* GetRawData(int id) const = 0;
#if defined(OS_MACOSX) && !defined(TOOLKIT_VIEWS)
// Gets the NSImage with the specified |id|.