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
8 // http://www.apache.org/licenses/LICENSE-2.0
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");
14 goog.require('i18n.input.chrome.inputview.content.util');
17 var viewIdPrefix_ = '102kbd-k-';
20 ['\u0060', '\u007e', '\u00b4', '\u00ac'], // TLDE
21 ['\u0105', '\u0104', '\u0031', '\u0021'], // AE01
22 ['\u010d', '\u010c', '\u0032', '\u0040'], // AE02
23 ['\u0119', '\u0118', '\u0033', '\u0023'], // AE03
24 ['\u0117', '\u0116', '\u0034', '\u0024'], // AE04
25 ['\u012f', '\u012e', '\u0035', '\u0025'], // AE05
26 ['\u0161', '\u0160', '\u0036', '\u005e'], // AE06
27 ['\u0173', '\u0172', '\u0037', '\u0026'], // AE07
28 ['\u016b', '\u016a', '\u0038', '\u002a'], // AE08
29 ['\u201e', '\u0028', '\u0039', '\u0028'], // AE09
30 ['\u201c', '\u0029', '\u0030', '\u0029'], // AE10
31 ['\u002d', '\u005f', '\u2013', '\u00bf'], // AE11
32 ['\u017e', '\u017d', '\u003d', '\u002b'], // AE12
33 ['\u0071', '\u0051', '\u0040', '\u03a9'], // AD01
34 ['\u0077', '\u0057', '\u0142', '\u0141'], // AD02
35 ['\u0065', '\u0045', '\u20ac', '\u0045'], // AD03
36 ['\u0072', '\u0052', '\u00b6', '\u00ae'], // AD04
37 ['\u0074', '\u0054', '\u0167', '\u0166'], // AD05
38 ['\u0079', '\u0059', '\u2190', '\u00a5'], // AD06
39 ['\u0075', '\u0055', '\u2193', '\u2191'], // AD07
40 ['\u0069', '\u0049', '\u2192', '\u0131'], // AD08
41 ['\u006f', '\u004f', '\u00f8', '\u00d8'], // AD09
42 ['\u0070', '\u0050', '\u00fe', '\u00de'], // AD10
43 ['\u005b', '\u007b', '\u0308', '\u030a'], // AD11
44 ['\u005d', '\u007d', '\u0303', '\u0304'], // AD12
45 ['\u0061', '\u0041', '\u00e6', '\u00c6'], // AC01
46 ['\u0073', '\u0053', '\u00df', '\u00a7'], // AC02
47 ['\u0064', '\u0044', '\u00f0', '\u00d0'], // AC03
48 ['\u0066', '\u0046', '\u0111', '\u00aa'], // AC04
49 ['\u0067', '\u0047', '\u014b', '\u014a'], // AC05
50 ['\u0068', '\u0048', '\u0127', '\u0126'], // AC06
51 ['\u006a', '\u004a', '\u0309', '\u031b'], // AC07
52 ['\u006b', '\u004b', '\u0138', '\u0026'], // AC08
53 ['\u006c', '\u004c', '\u0142', '\u0141'], // AC09
54 ['\u003b', '\u003a', '\u0301', '\u030b'], // AC10
55 ['\u0027', '\u0022', '\u0302', '\u030c'], // AC11
56 ['\u005c', '\u007c', '\u0300', '\u0306'], // BKSL
57 ['\u2013', '\u20ac', '\u007c', '\u00a6'], // LSGT
58 ['\u007a', '\u005a', '\u00ab', '\u003c'], // AB01
59 ['\u0078', '\u0058', '\u00bb', '\u003e'], // AB02
60 ['\u0063', '\u0043', '\u00a2', '\u00a9'], // AB03
61 ['\u0076', '\u0056', '\u201c', '\u2018'], // AB04
62 ['\u0062', '\u0042', '\u201d', '\u2019'], // AB05
63 ['\u006e', '\u004e'], // AB06
64 ['\u006d', '\u004d', '\u00b5', '\u00ba'], // AB07
65 ['\u002c', '\u003c', '\u0000', '\u00d7'], // AB08
66 ['\u002e', '\u003e', '\u00b7', '\u00f7'], // AB09
67 ['\u002f', '\u003f', '\u0323', '\u0307'], // AB10
68 ['\u0020', '\u0020'] // SPCE
123 var data = i18n.input.chrome.inputview.content.util.createData(
124 keyCharacters, viewIdPrefix_, true, true, keyCodes);
126 google.ime.chrome.inputview.onConfigLoaded(data);