| Index: chrome/renderer/resources/extensions/tabs_custom_bindings.js
|
| ===================================================================
|
| --- chrome/renderer/resources/extensions/tabs_custom_bindings.js (revision 125813)
|
| +++ chrome/renderer/resources/extensions/tabs_custom_bindings.js (working copy)
|
| @@ -4,11 +4,13 @@
|
|
|
| // Custom bindings for the tabs API.
|
|
|
| -var tabsNatives = requireNative('tabs');
|
| -var OpenChannelToTab = tabsNatives.OpenChannelToTab;
|
| +(function() {
|
|
|
| -var chromeHidden = requireNative('chrome_hidden').GetChromeHidden();
|
| +native function GetChromeHidden();
|
| +native function OpenChannelToTab();
|
|
|
| +var chromeHidden = GetChromeHidden();
|
| +
|
| chromeHidden.registerCustomHook('tabs', function(bindingsAPI, extensionId) {
|
| var apiFunctions = bindingsAPI.apiFunctions;
|
|
|
| @@ -42,3 +44,5 @@
|
| });
|
| });
|
| });
|
| +
|
| +})();
|
|
|