Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Side by Side Diff: ui/keyboard/resources/layout_us.js

Issue 14674004: DRAFT: Add setKeyboardVisibility API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698