diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 21:58:21 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 21:58:21 +0000 |
commit | 3c6f8e155866a42aed692b88231f4c6a62fae8c7 (patch) | |
tree | 1be798be384cd76533c66c3bcaf5f1365512fe7d /chrome_frame/simple_resource_loader.cc | |
parent | c2c132c637874d6d3104293791b15b38da58bfc9 (diff) | |
download | chromium_src-3c6f8e155866a42aed692b88231f4c6a62fae8c7.zip chromium_src-3c6f8e155866a42aed692b88231f4c6a62fae8c7.tar.gz chromium_src-3c6f8e155866a42aed692b88231f4c6a62fae8c7.tar.bz2 |
Completing Chrome Frame localization by adding the resource script containing the dialog template to Chrome's generated_resources.grd. Associated changes in CF to call _AtlBaseModule.SetResourceInstance to get it to load dialog templates from a resource dll.
BUG=24305
TEST=The Find in page dialog in full tab Chrome Frame is localized.
Review URL: http://codereview.chromium.org/1293002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/simple_resource_loader.cc')
-rw-r--r-- | chrome_frame/simple_resource_loader.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/simple_resource_loader.cc b/chrome_frame/simple_resource_loader.cc index 2eb2167..e5f2924 100644 --- a/chrome_frame/simple_resource_loader.cc +++ b/chrome_frame/simple_resource_loader.cc @@ -134,3 +134,7 @@ std::wstring SimpleResourceLoader::Get(int message_id) { SimpleResourceLoader* loader = SimpleResourceLoader::instance(); return loader->GetLocalizedResource(message_id); } + +HINSTANCE SimpleResourceLoader::GetResourceModuleHandle() { + return locale_dll_handle_; +} |