OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 cr.define('options', function() { | |
6 | |
7 /** | |
8 * Encapsulated handling of the keyboard overlay. | |
9 * @constructor | |
10 */ | |
11 function KeyboardOverlay() { | |
12 options.SettingsDialog.call(this, 'keyboard-overlay', | |
13 loadTimeData.getString('keyboardOverlayTitle'), | |
14 'keyboard-overlay', | |
15 $('keyboard-confirm'), $('keyboard-cancel')); | |
16 } | |
17 | |
18 cr.addSingletonGetter(KeyboardOverlay); | |
19 | |
20 KeyboardOverlay.prototype = { | |
21 __proto__: options.SettingsDialog.prototype, | |
22 }; | |
23 | |
24 // Export | |
25 return { | |
26 KeyboardOverlay: KeyboardOverlay | |
27 }; | |
28 }); | |
OLD | NEW |