blob: 45b6859ce479a26d0b435dae0987ea3277a1d608 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.define('options', function() {
/**
* Encapsulated handling of the keyboard overlay.
* @constructor
*/
function KeyboardOverlay() {
options.SettingsDialog.call(this, 'keyboard-overlay',
loadTimeData.getString('keyboardOverlayTitle'),
'keyboard-overlay',
$('keyboard-confirm'), $('keyboard-cancel'));
}
cr.addSingletonGetter(KeyboardOverlay);
KeyboardOverlay.prototype = {
__proto__: options.SettingsDialog.prototype,
};
// Export
return {
KeyboardOverlay: KeyboardOverlay
};
});