| Index: chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| diff --git a/chrome/browser/resources/options/chromeos/keyboard_overlay.js b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| index 5e6f2e01513e97533dae39188a50ac934e5ebf8d..74680dbf7d6889452fc8a2e38c389276ad4f748b 100644
|
| --- a/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| +++ b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| @@ -161,10 +161,15 @@
|
| };
|
|
|
| // Forward public APIs to private implementations.
|
| - cr.makePublic(KeyboardOverlay, [
|
| + [
|
| 'showCapsLockOptions',
|
| 'showDiamondKeyOptions',
|
| - ]);
|
| + ].forEach(function(name) {
|
| + KeyboardOverlay[name] = function() {
|
| + var instance = KeyboardOverlay.getInstance();
|
| + return instance[name + '_'].apply(instance, arguments);
|
| + };
|
| + });
|
|
|
| // Export
|
| return {
|
|
|