diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 19:00:50 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 19:00:50 +0000 |
commit | 2aad8bb784ec3ba75ee17ec7923a6ab1af235574 (patch) | |
tree | 20ddc725fc42d7fefca6f13366184a76d2394a79 /chrome/renderer/renderer_glue.cc | |
parent | 105cf0d4d03f6e2da389e9a2c4cb5129a1ff8cda (diff) | |
download | chromium_src-2aad8bb784ec3ba75ee17ec7923a6ab1af235574.zip chromium_src-2aad8bb784ec3ba75ee17ec7923a6ab1af235574.tar.gz chromium_src-2aad8bb784ec3ba75ee17ec7923a6ab1af235574.tar.bz2 |
Add a linux stub implementation for resource_bundle.
This should work except for the Load calls that should load .pak files.
We don't generate .pak files yet so I left that code blank for now.
Mac doesn't compile this yet and is still figuring out how they want to handle
resources.
Review URL: http://codereview.chromium.org/21020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_glue.cc')
-rw-r--r-- | chrome/renderer/renderer_glue.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/renderer/renderer_glue.cc b/chrome/renderer/renderer_glue.cc index c4d6148..4e0af7b 100644 --- a/chrome/renderer/renderer_glue.cc +++ b/chrome/renderer/renderer_glue.cc @@ -202,21 +202,15 @@ bool GetPreferredExtensionForMimeType(const std::string& mime_type, return !ext->empty(); } -// TODO(port): Need to finish port ResourceBundle. std::string GetDataResource(int resource_id) { -#if defined(OS_WIN) return ResourceBundle::GetSharedInstance().GetDataResource(resource_id); -#else - NOTIMPLEMENTED(); - return std::string(); -#endif } -#if defined(OS_WIN) SkBitmap* GetBitmapResource(int resource_id) { return ResourceBundle::GetSharedInstance().GetBitmapNamed(resource_id); } +#if defined(OS_WIN) HCURSOR LoadCursor(int cursor_id) { return ResourceBundle::GetSharedInstance().LoadCursor(cursor_id); } |