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

Side by Side Diff: third_party/google_input_tools/src/chrome/os/keyboard/keycode.js

Issue 674153004: Add third_party/google-input-tools: Take 2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@google_input_tools
Patch Set: Created 6 years, 1 month 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
OLDNEW
(Empty)
1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
2 // limitations under the License.
3 // See the License for the specific language governing permissions and
4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
5 // distributed under the License is distributed on an "AS-IS" BASIS,
6 // Unless required by applicable law or agreed to in writing, software
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // You may obtain a copy of the License at
11 // you may not use this file except in compliance with the License.
12 // Licensed under the Apache License, Version 2.0 (the "License");
13 //
14 // Copyright 2013 The ChromeOS VK Authors. All Rights Reserved.
15 //
16 // Licensed under the Apache License, Version 2.0 (the "License");
17 // you may not use this file except in compliance with the License.
18 // You may obtain a copy of the License at
19 //
20 // http://www.apache.org/licenses/LICENSE-2.0
21 //
22 // Unless required by applicable law or agreed to in writing, software
23 // distributed under the License is distributed on an "AS-IS" BASIS,
24 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25 // See the License for the specific language governing permissions and
26 // limitations under the License.
27
28 /**
29 * @fileoverview Defines all the key codes and key codes map.
30 */
31
32 goog.provide('i18n.input.chrome.vk.KeyCode');
33
34
35 /**
36 * The standard 101 keyboard keys. Each char represent the key code of each key.
37 *
38 * @type {string}
39 */
40 i18n.input.chrome.vk.KeyCode.CODES101 =
41 '\u00c01234567890\u00bd\u00bb' +
42 'QWERTYUIOP\u00db\u00dd\u00dc' +
43 'ASDFGHJKL\u00ba\u00de' +
44 'ZXCVBNM\u00bc\u00be\u00bf' +
45 '\u0020';
46
47
48 /**
49 * The standard 102 keyboard keys.
50 *
51 * @type {string}
52 */
53 i18n.input.chrome.vk.KeyCode.CODES102 =
54 '\u00c01234567890\u00bd\u00bb' +
55 'QWERTYUIOP\u00db\u00dd' +
56 'ASDFGHJKL\u00ba\u00de\u00dc' +
57 '\u00e2ZXCVBNM\u00bc\u00be\u00bf' +
58 '\u0020';
59
60
61 /**
62 * The standard 101 keyboard keys, including the BS/TAB/CAPS/ENTER/SHIFT/ALTGR.
63 * Each char represent the key code of each key.
64 *
65 * @type {string}
66 */
67 i18n.input.chrome.vk.KeyCode.ALLCODES101 =
68 '\u00c01234567890\u00bd\u00bb\u0008' +
69 '\u0009QWERTYUIOP\u00db\u00dd\u00dc' +
70 '\u0014ASDFGHJKL\u00ba\u00de\u000d' +
71 '\u0010ZXCVBNM\u00bc\u00be\u00bf\u0010' +
72 '\u0111\u0020\u0111';
73
74
75 /**
76 * The standard 102 keyboard keys, including the BS/TAB/CAPS/ENTER/SHIFT/ALTGR.
77 * Each char represent the key code of each key.
78 *
79 * @type {string}
80 */
81 i18n.input.chrome.vk.KeyCode.ALLCODES102 =
82 '\u00c01234567890\u00bd\u00bb\u0008' +
83 '\u0009QWERTYUIOP\u00db\u00dd\u000d' +
84 '\u0014ASDFGHJKL\u00ba\u00de\u00dc\u000d' +
85 '\u0010\u00e2ZXCVBNM\u00bc\u00be\u00bf\u0010' +
86 '\u0111\u0020\u0111';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698