| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @fileoverview A simple English virtual keyboard implementation. | 6 * @fileoverview A simple English virtual keyboard implementation. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * All keys for the rows of the keyboard. | 10 * All keys for the rows of the keyboard. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 new Key(C('b'), C('B'), C(':'), C('.')), | 45 new Key(C('b'), C('B'), C(':'), C('.')), |
| 46 new Key(C('n'), C('N'), C(';'), C(' ')), | 46 new Key(C('n'), C('N'), C(';'), C(' ')), |
| 47 new Key(C('m'), C('M'), C('_'), C(' ')), | 47 new Key(C('m'), C('M'), C('_'), C(' ')), |
| 48 new SvgKey('backspace', 'Backspace', true /* repeat */) | 48 new SvgKey('backspace', 'Backspace', true /* repeat */) |
| 49 ], | 49 ], |
| 50 [ | 50 [ |
| 51 new SymbolKey(), | 51 new SymbolKey(), |
| 52 new SpecialKey('comma', ',', ','), | 52 new SpecialKey('comma', ',', ','), |
| 53 new SpecialKey('space', ' ', 'Spacebar'), | 53 new SpecialKey('space', ' ', 'Spacebar'), |
| 54 new SpecialKey('period', '.', '.'), | 54 new SpecialKey('period', '.', '.'), |
| 55 new SvgKey('return', 'Enter') | 55 new SvgKey('return', 'Enter'), |
| 56 new HideKeyboardKey() |
| 56 ] | 57 ] |
| 57 ]; | 58 ]; |
| 58 | 59 |
| 59 // Add layout to KEYBOARDS, which is defined in common.js | 60 // Add layout to KEYBOARDS, which is defined in common.js |
| 60 KEYBOARDS['us'] = { | 61 KEYBOARDS['us'] = { |
| 61 'definition': KEYS_US, | 62 'definition': KEYS_US, |
| 62 'aspect': 2.00, | 63 'aspect': 2.00, |
| 63 }; | 64 }; |
| OLD | NEW |