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.ContextlayoutUtil');
15 goog.require('i18n.input.chrome.inputview.content.util');
16 goog.require('i18n.input.chrome.message.ContextType');
19 var viewIdPrefix_ = '101kbd-k-';
20 var ContextType = i18n.input.chrome.message.ContextType;
23 ['\u0060', '\u007e'], // TLDE
24 ['\u0031', '\u0021'], // AE01
25 ['\u0032', '\u0040'], // AE02
26 ['\u0033', '\u0023'], // AE03
27 ['\u0034', '\u0024'], // AE04
28 ['\u0035', '\u0025'], // AE05
29 ['\u0036', '\u005e'], // AE06
30 ['\u0037', '\u0026'], // AE07
31 ['\u0038', '\u002a'], // AE08
32 ['\u0039', '\u0029'], // AE09
33 ['\u0030', '\u0028'], // AE10
34 ['\u002d', '\u005f'], // AE11
35 ['\u003d', '\u002b'], // AE12
36 ['\u0071', '\u0051'], // AD01
37 ['\u0077', '\u0057'], // AD02
38 ['\u0065', '\u0045'], // AD03
39 ['\u0072', '\u0052'], // AD04
40 ['\u0074', '\u0054'], // AD05
41 ['\u0079', '\u0059'], // AD06
42 ['\u0075', '\u0055'], // AD07
43 ['\u0069', '\u0049'], // AD08
44 ['\u006f', '\u004f'], // AD09
45 ['\u0070', '\u0050'], // AD10
46 ['\u005d', '\u007d'], // AD11
47 ['\u005b', '\u007b'], // AD12
48 ['\u005c', '\u007c'], // BKSL
49 ['\u0061', '\u0041'], // AC01
50 ['\u0073', '\u0053'], // AC02
51 ['\u0064', '\u0044'], // AC03
52 ['\u0066', '\u0046'], // AC04
53 ['\u0067', '\u0047'], // AC05
54 ['\u0068', '\u0048'], // AC06
55 ['\u006a', '\u004a'], // AC07
56 ['\u006b', '\u004b'], // AC08
57 ['\u006c', '\u004c'], // AC09
58 ['\u003b', '\u003a'], // AC10
59 ['\u0027', '\u0022'], // AC11
60 ['\u007a', '\u005a'], // AB01
61 ['\u0078', '\u0058'], // AB02
62 ['\u0063', '\u0043'], // AB03
63 ['\u0076', '\u0056'], // AB04
64 ['\u0062', '\u0042'], // AB05
65 ['\u006e', '\u004e'], // AB06
66 ['\u006d', '\u004d'], // AB07
67 ['\u002c', '\u003c'], // AB08
68 ['\u002e', '\u003e'], // AB09
69 ['\u002f', '\u003f'], // AB10
70 ['\u0020', '\u0020'] // SPCE
73 var data = i18n.input.chrome.inputview.content.util.createData(
74 keyCharacters, viewIdPrefix_, false, false);
75 data['id'] = 't13n-rtl';
76 google.ime.chrome.inputview.onConfigLoaded(data);