| Index: chrome/renderer/resources/extensions/experimental.offscreenTabs_custom_bindings.js
|
| diff --git a/chrome/renderer/resources/extensions/experimental.offscreenTabs_custom_bindings.js b/chrome/renderer/resources/extensions/experimental.offscreenTabs_custom_bindings.js
|
| index 3635a2c6d90ceb2e5a56a5431fa9af9be1213c11..3e2a3a5e3246cd900598cd07d6cbe56c816689d7 100644
|
| --- a/chrome/renderer/resources/extensions/experimental.offscreenTabs_custom_bindings.js
|
| +++ b/chrome/renderer/resources/extensions/experimental.offscreenTabs_custom_bindings.js
|
| @@ -4,11 +4,10 @@
|
|
|
| // Custom bindings for the experimental offscreenTabs API.
|
|
|
| -(function() {
|
| +var bindings = new (require('schema_binding_generator').Bindings)(
|
| + 'experimental.offscreenTabs');
|
|
|
| -native function GetChromeHidden();
|
| -
|
| -GetChromeHidden().registerCustomHook(
|
| +bindings.registerCustomHook(
|
| 'experimental.offscreenTabs', function(api) {
|
| var apiFunctions = api.apiFunctions;
|
|
|
| @@ -60,4 +59,4 @@ GetChromeHidden().registerCustomHook(
|
| function() { return validate(arguments, mouseEventFilter); });
|
| });
|
|
|
| -})();
|
| +exports.bindings = bindings.generate();
|
|
|