| 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 45b6859ce479a26d0b435dae0987ea3277a1d608..f6df30d84985125f66dc54268b3efbdaf193cc3f 100644
|
| --- a/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| +++ b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| @@ -19,8 +19,26 @@ cr.define('options', function() {
|
|
|
| KeyboardOverlay.prototype = {
|
| __proto__: options.SettingsDialog.prototype,
|
| +
|
| + /**
|
| + * Show/hide the caps lock remapping section.
|
| + * @private
|
| + */
|
| + showCapsLockOptions_: function(show) {
|
| + $('caps-lock-remapping-section').hidden = !show;
|
| + },
|
| };
|
|
|
| + // Forward public APIs to private implementations.
|
| + [
|
| + 'showCapsLockOptions',
|
| + ].forEach(function(name) {
|
| + KeyboardOverlay[name] = function() {
|
| + var instance = KeyboardOverlay.getInstance();
|
| + return instance[name + '_'].apply(instance, arguments);
|
| + };
|
| + });
|
| +
|
| // Export
|
| return {
|
| KeyboardOverlay: KeyboardOverlay
|
|
|