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

Unified Diff: ui/base/theme_provider.h

Issue 10272004: Move RefCountedMemory class to base namespace. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 8 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 | « ui/base/resource/resource_bundle.cc ('k') | ui/gfx/color_analysis.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/theme_provider.h
===================================================================
--- ui/base/theme_provider.h (revision 134496)
+++ ui/base/theme_provider.h (working copy)
@@ -25,9 +25,12 @@
typedef struct _GdkPixbuf GdkPixbuf;
#endif // OS_*
-class RefCountedMemory;
class SkBitmap;
+namespace base {
+class RefCountedMemory;
+}
+
namespace ui {
////////////////////////////////////////////////////////////////////////////////
@@ -65,7 +68,7 @@
// 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|.
« no previous file with comments | « ui/base/resource/resource_bundle.cc ('k') | ui/gfx/color_analysis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698