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

Side by Side Diff: chrome/browser/resources/keyboard/layout_popup.js

Issue 7754019: Enable the keyboard to show the popup keyboard for inputting accented characters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // This file is generaged by gen_keyboard_layouts.py
6
7 var KEYS_FR_POPUP_E = [
bryeung 2011/09/08 19:22:35 Is it possible to put the popup keyboards for a la
mazda 2011/09/12 14:33:48 Done.
8 [
9 new Key(C("\u0117", "U+0117"), C("\u0116", "U+0116"), C("\u0117", "U+0117"), C("\u0117", "U+0117"), "popupkey"),
10 new Key(C("\u0113", "U+0113"), C("\u0112", "U+0112"), C("\u0113", "U+0113"), C("\u0113", "U+0113"), "popupkey"),
11 ],
12 [
13 new Key(C("\u0119", "U+0119"), C("\u0118", "U+0118"), C("\u0119", "U+0119"), C("\u0119", "U+0119"), "popupkey"),
14 new Key(C("\u00ea", "U+00EA"), C("\u00ca", "U+00CA"), C("\u00ea", "U+00EA"), C("\u00ea", "U+00EA"), "popupkey"),
15 new Key(C("\u00e9", "U+00E9"), C("\u00c9", "U+00C9"), C("\u00e9", "U+00E9"), C("\u00e9", "U+00E9"), "popupkey"),
16 new Key(C("\u00e8", "U+00E8"), C("\u00c8", "U+00C8"), C("\u00e8", "U+00E8"), C("\u00e8", "U+00E8"), "popupkey"),
17 new Key(C("\u00eb", "U+00EB"), C("\u00cb", "U+00CB"), C("\u00eb", "U+00EB"), C("\u00eb", "U+00EB"), "popupkey"),
18 ],
19 ];
20
21 // Add layout to KEYBOARDS, which is defined in common.js
22 KEYBOARDS['fr_popup_e'] = {
23 "definition": KEYS_FR_POPUP_E,
24 "aspect": 1.5,
25 };
26
27 var KEYS_FR_POPUP_A = [
28 [
29 new Key(C("\u0101", "U+0101"), C("\u0100", "U+0100"), C("\u0101", "U+0101"), C("\u0101", "U+0101"), "popupkey"),
30 new Key(C("\u00e3", "U+00E3"), C("\u00c3", "U+00C3"), C("\u00e3", "U+00E3"), C("\u00e3", "U+00E3"), "popupkey"),
31 new Key(C("\u00e5", "U+00E5"), C("\u00c5", "U+00C5"), C("\u00e5", "U+00E5"), C("\u00e5", "U+00E5"), "popupkey"),
32 new Key(C("\u00aa", "U+00AA"), C("\u00aa", "U+00AA"), C("\u00aa", "U+00AA"), C("\u00aa", "U+00AA"), "popupkey"),
33 ],
34 [
35 new Key(C("\u00e4", "U+00E4"), C("\u00c4", "U+00C4"), C("\u00e4", "U+00E4"), C("\u00e4", "U+00E4"), "popupkey"),
36 new Key(C("\u00e6", "U+00E6"), C("\u00c6", "U+00C6"), C("\u00e6", "U+00E6"), C("\u00e6", "U+00E6"), "popupkey"),
37 new Key(C("\u00e0", "U+00E0"), C("\u00c0", "U+00C0"), C("\u00e0", "U+00E0"), C("\u00e0", "U+00E0"), "popupkey"),
38 new Key(C("\u00e2", "U+00E2"), C("\u00c2", "U+00C2"), C("\u00e2", "U+00E2"), C("\u00e2", "U+00E2"), "popupkey"),
39 new Key(C("\u00e1", "U+00E1"), C("\u00c1", "U+00C1"), C("\u00e1", "U+00E1"), C("\u00e1", "U+00E1"), "popupkey"),
40 ],
41 ];
42
43 // Add layout to KEYBOARDS, which is defined in common.js
44 KEYBOARDS['fr_popup_a'] = {
45 "definition": KEYS_FR_POPUP_A,
46 "aspect": 1.5,
47 };
48
49 var KEYS_FR_POPUP_C = [
50 [
51 new Key(C("\u010d", "U+010D"), C("\u010c", "U+010C"), C("\u010d", "U+010D"), C("\u010d", "U+010D"), "popupkey"),
52 new Key(C("\u00e7", "U+00E7"), C("\u00c7", "U+00C7"), C("\u00e7", "U+00E7"), C("\u00e7", "U+00E7"), "popupkey"),
53 new Key(C("\u0107", "U+0107"), C("\u0106", "U+0106"), C("\u0107", "U+0107"), C("\u0107", "U+0107"), "popupkey"),
54 ],
55 ];
56
57 // Add layout to KEYBOARDS, which is defined in common.js
58 KEYBOARDS['fr_popup_c'] = {
59 "definition": KEYS_FR_POPUP_C,
60 "aspect": 1.8,
61 };
62
63 var KEYS_FR_POPUP_O = [
64 [
65 new Key(C("\u014d", "U+014D"), C("\u014c", "U+014C"), C("\u014d", "U+014D"), C("\u014d", "U+014D"), "popupkey"),
66 new Key(C("\u00f5", "U+00F5"), C("\u00d5", "U+00D5"), C("\u00f5", "U+00F5"), C("\u00f5", "U+00F5"), "popupkey"),
67 new Key(C("\u00f8", "U+00F8"), C("\u00d8", "U+00D8"), C("\u00f8", "U+00F8"), C("\u00f8", "U+00F8"), "popupkey"),
68 new Key(C("\u00ba", "U+00BA"), C("\u00ba", "U+00BA"), C("\u00ba", "U+00BA"), C("\u00ba", "U+00BA"), "popupkey"),
69 ],
70 [
71 new Key(C("\u00f3", "U+00F3"), C("\u00f3", "U+00F3"), C("\u00f3", "U+00F3"), C("\u00f3", "U+00F3"), "popupkey"),
72 new Key(C("\u00f6", "U+00F6"), C("\u00d6", "U+00D6"), C("\u00f6", "U+00F6"), C("\u00f6", "U+00F6"), "popupkey"),
73 new Key(C("\u00f4", "U+00F4"), C("\u00d4", "U+00D4"), C("\u00f4", "U+00F4"), C("\u00f4", "U+00F4"), "popupkey"),
74 new Key(C("\u0153", "U+0153"), C("\u0152", "U+0152"), C("\u0153", "U+0153"), C("\u0153", "U+0153"), "popupkey"),
75 new Key(C("\u00f2", "U+00F2"), C("\u00d2", "U+00D2"), C("\u00f2", "U+00F2"), C("\u00f2", "U+00F2"), "popupkey"),
76 ],
77 ];
78
79 // Add layout to KEYBOARDS, which is defined in common.js
80 KEYBOARDS['fr_popup_o'] = {
81 "definition": KEYS_FR_POPUP_O,
82 "aspect": 1.5,
83 };
84
85 var KEYS_FR_POPUP_I = [
86 [
87 new Key(C("\u012b", "U+012B"), C("\u012a", "U+012A"), C("\u012b", "U+012B"), C("\u012b", "U+012B"), "popupkey"),
88 ],
89 [
90 new Key(C("\u012f", "U+012F"), C("\u012e", "U+012E"), C("\u012f", "U+012F"), C("\u012f", "U+012F"), "popupkey"),
91 new Key(C("\u00ec", "U+00EC"), C("\u00cc", "U+00CC"), C("\u00ec", "U+00EC"), C("\u00ec", "U+00EC"), "popupkey"),
92 new Key(C("\u00ee", "U+00EE"), C("\u00ce", "U+00CE"), C("\u00ee", "U+00EE"), C("\u00ee", "U+00EE"), "popupkey"),
93 new Key(C("\u00ef", "U+00EF"), C("\u00cf", "U+00CF"), C("\u00ef", "U+00EF"), C("\u00ef", "U+00EF"), "popupkey"),
94 new Key(C("\u00ed", "U+00ED"), C("\u00cd", "U+00CD"), C("\u00ed", "U+00ED"), C("\u00ed", "U+00ED"), "popupkey"),
95 ],
96 ];
97
98 // Add layout to KEYBOARDS, which is defined in common.js
99 KEYBOARDS['fr_popup_i'] = {
100 "definition": KEYS_FR_POPUP_I,
101 "aspect": 1.5,
102 };
103
104 var KEYS_FR_POPUP_U = [
105 [
106 new Key(C("\u016b", "U+016B"), C("\u016a", "U+016A"), C("\u016b", "U+016B"), C("\u016b", "U+016B"), "popupkey"),
107 new Key(C("\u00fc", "U+00FC"), C("\u00dc", "U+00DC"), C("\u00fc", "U+00FC"), C("\u00fc", "U+00FC"), "popupkey"),
108 new Key(C("\u00fb", "U+00FB"), C("\u00db", "U+00DB"), C("\u00fb", "U+00FB"), C("\u00fb", "U+00FB"), "popupkey"),
109 new Key(C("\u00f9", "U+00F9"), C("\u00d9", "U+00D9"), C("\u00f9", "U+00F9"), C("\u00f9", "U+00F9"), "popupkey"),
110 new Key(C("\u00fa", "U+00FA"), C("\u00da", "U+00DA"), C("\u00fa", "U+00FA"), C("\u00fa", "U+00FA"), "popupkey"),
111 ],
112 ];
113
114 // Add layout to KEYBOARDS, which is defined in common.js
115 KEYBOARDS['fr_popup_u'] = {
116 "definition": KEYS_FR_POPUP_U,
117 "aspect": 3,
118 };
119
120 var KEYS_FR_POPUP_Y = [
121 [
122 new Key(C("\u00ff", "U+00FF"), C("\u0178", "U+0178"), C("\u00ff", "U+00FF"), C("\u00ff", "U+00FF"), "popupkey"),
123 ],
124 ];
125
126 // Add layout to KEYBOARDS, which is defined in common.js
127 KEYBOARDS['fr_popup_y'] = {
128 "definition": KEYS_FR_POPUP_Y,
129 "aspect": 0.6,
130 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698