diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 16:32:59 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 16:32:59 +0000 |
commit | 2953b506591d6f4a52e443831d43c0a996b7819a (patch) | |
tree | 2566f8d00bec266b854d2f132ad7189e50aec855 /app/resource_bundle.h | |
parent | 985454a327e5907caf0d5f32ed37de9f6f2abda4 (diff) | |
download | chromium_src-2953b506591d6f4a52e443831d43c0a996b7819a.zip chromium_src-2953b506591d6f4a52e443831d43c0a996b7819a.tar.gz chromium_src-2953b506591d6f4a52e443831d43c0a996b7819a.tar.bz2 |
Move all ResourceBundle::GetNSImageNamed() calls to GetNativeImageNamed().
This is part of the first stage of cleaning up ResourceBundle's interface.
BUG=58030
TEST=Compile and unit tests.
Review URL: http://codereview.chromium.org/3806007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63367 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resource_bundle.h')
-rw-r--r-- | app/resource_bundle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/resource_bundle.h b/app/resource_bundle.h index 8fc6447..19905c2 100644 --- a/app/resource_bundle.h +++ b/app/resource_bundle.h @@ -129,8 +129,11 @@ class ResourceBundle { // Loads and returns a cursor from the app module. HCURSOR LoadCursor(int cursor_id); #elif defined(OS_MACOSX) + private: // Wrapper for GetBitmapNamed. Converts the bitmap to an autoreleased NSImage. + // TODO(rsesek): Move implementation into GetNativeImageNamed(). NSImage* GetNSImageNamed(int resource_id); + public: #elif defined(USE_X11) // Gets the GdkPixbuf with the specified resource_id from the main data pak // file. Returns a pointer to a shared instance of the GdkPixbuf. This |