summaryrefslogtreecommitdiffstats
path: root/chrome_frame/simple_resource_loader.h
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 21:58:21 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 21:58:21 +0000
commit3c6f8e155866a42aed692b88231f4c6a62fae8c7 (patch)
tree1be798be384cd76533c66c3bcaf5f1365512fe7d /chrome_frame/simple_resource_loader.h
parentc2c132c637874d6d3104293791b15b38da58bfc9 (diff)
downloadchromium_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.h')
-rw-r--r--chrome_frame/simple_resource_loader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/simple_resource_loader.h b/chrome_frame/simple_resource_loader.h
index 2ec9860..95e4425 100644
--- a/chrome_frame/simple_resource_loader.h
+++ b/chrome_frame/simple_resource_loader.h
@@ -26,6 +26,10 @@ class SimpleResourceLoader {
// from the currently loaded locale dll.
static std::wstring Get(int message_id);
+ // Retrieves the HINSTANCE of the loaded module handle. May be NULL if a
+ // resource DLL could not be loaded.
+ HINSTANCE GetResourceModuleHandle();
+
private:
SimpleResourceLoader();