| Index: chrome/renderer/resources/extension_process_bindings.js
|
| ===================================================================
|
| --- chrome/renderer/resources/extension_process_bindings.js (revision 27238)
|
| +++ chrome/renderer/resources/extension_process_bindings.js (working copy)
|
| @@ -20,6 +20,7 @@
|
| native function GetNextRequestId();
|
| native function OpenChannelToTab();
|
| native function GetRenderViewId();
|
| + native function GetL10nMessage();
|
|
|
| if (!chrome)
|
| chrome = {};
|
| @@ -316,6 +317,11 @@
|
| return tabIdProxy;
|
| }
|
|
|
| + apiFunctions["i18n.getMessage"].handleRequest =
|
| + function(message_name, placeholders) {
|
| + return GetL10nMessage(message_name, placeholders);
|
| + }
|
| +
|
| setupPageActionEvents(extensionId);
|
| setupToolstripEvents(GetRenderViewId());
|
| });
|
|
|