summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.h
diff options
context:
space:
mode:
authorcira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 18:30:53 +0000
committercira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 18:30:53 +0000
commit696044b0f89347690ac2323670a7edf2ad4d2b2a (patch)
tree663da3b9c0bb0cfc7e37950941837c78937ed2e3 /chrome/renderer/render_thread.h
parentb79d7abdc9e7de5d17beca1ddcbfcd8c20e1cdd4 (diff)
downloadchromium_src-696044b0f89347690ac2323670a7edf2ad4d2b2a.zip
chromium_src-696044b0f89347690ac2323670a7edf2ad4d2b2a.tar.gz
chromium_src-696044b0f89347690ac2323670a7edf2ad4d2b2a.tar.bz2
Load message catalogs on demand when chrome.i18n.getMessage needs them.
1. Added default locale to the url context 2. Removed old code that was uploading catalogs on load (to renderer) 3. Removed message bundle object from Extension class. BUG=27361 TEST=Open Chrome with --lang=sr and load src\chrome\common\extensions\docs\examples\api\i18n\getMessage extension from chrome://extensions page. Click on icon and text in popup should be localized. Review URL: http://codereview.chromium.org/463011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_thread.h')
-rw-r--r--chrome/renderer/render_thread.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
index 2b5693a..6769b06 100644
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -169,9 +169,6 @@ class RenderThread : public RenderThreadBase,
void OnExtensionSetHostPermissions(
const GURL& extension_url,
const std::vector<URLPattern>& permissions);
- void OnExtensionSetL10nMessages(
- const std::string& extension_id,
- const std::map<std::string, std::string>& l10n_messages);
void OnSetNextPageID(int32 next_page_id);
void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors);
void OnCreateNewView(gfx::NativeViewId parent_hwnd,