Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / google_input_tools / src / chrome / os / inputview / config / ch-fr_data.js
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 goog.require('i18n.input.chrome.inputview.content.util');
15
16 (function() {
17   var viewIdPrefix_ = '102kbd-k-';
18
19   var keyCharacters = [
20     ['\u00a7', '\u00b0', '\u00ac', '\u00ac'], // TLDE
21     ['\u0031', '\u002b', '\u007c', '\u00a1'], // AE01
22     ['\u0032', '\u0022', '\u0040', '\u215b'], // AE02
23     ['\u0033', '\u002a', '\u0023', '\u00a3'], // AE03
24     ['\u0034', '\u00e7', '\u00bc', '\u0024'], // AE04
25     ['\u0035', '\u0025', '\u00bd', '\u215c'], // AE05
26     ['\u0036', '\u0026', '\u00ac', '\u215d'], // AE06
27     ['\u0037', '\u002f', '\u007c', '\u215e'], // AE07
28     ['\u0038', '\u0028', '\u00a2', '\u2122'], // AE08
29     ['\u0039', '\u0029', '\u005d', '\u00b1'], // AE09
30     ['\u0030', '\u003d', '\u007d', '\u00b0'], // AE10
31     ['\u0027', '\u003f', '\u0301', '\u00bf'], // AE11
32     ['\u0302', '\u0300', '\u0303', '\u0328'], // 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     ['\u007a', '\u005a', '\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     ['\u00e8', '\u00fc', '\u005b', '\u030a'], // AD11
44     ['\u0308', '\u0021', '\u005d', '\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     ['\u00e9', '\u00f6', '\u0301', '\u030b'], // AC10
55     ['\u00e0', '\u00e4', '\u007b', '\u030c'], // AC11
56     ['\u0024', '\u00a3', '\u007d', '\u0306'], // BKSL
57     ['\u003c', '\u003e', '\u005c', '\u00a6'], // LSGT
58     ['\u0079', '\u0059', '\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', '\u003b', '\u0000', '\u00d7'], // AB08
66     ['\u002e', '\u003a', '\u00b7', '\u00f7'], // AB09
67     ['\u002d', '\u005f', '\u0323', '\u0307'], // AB10
68     ['\u0020', '\u0020'] // SPCE
69   ];
70
71   var keyCodes = [
72     0xBF, // TLDE
73     0x31, // AE01
74     0x32, // AE02
75     0x33, // AE03
76     0x34, // AE04
77     0x35, // AE05
78     0x36, // AE06
79     0x37, // AE07
80     0x38, // AE08
81     0x39, // AE09
82     0x30, // AE10
83     0xDB, // AE11
84     0xDD, // AE12
85     0x51, // AD01
86     0x57, // AD02
87     0x45, // AD03
88     0x52, // AD04
89     0x54, // AD05
90     0x5A, // AD06
91     0x55, // AD07
92     0x49, // AD08
93     0x4F, // AD09
94     0x50, // AD10
95     0xBA, // AD11
96     0xC0, // AD12
97     0x41, // AC01
98     0x53, // AC02
99     0x44, // AC03
100     0x46, // AC04
101     0x47, // AC05
102     0x48, // AC06
103     0x4A, // AC07
104     0x4B, // AC08
105     0x4C, // AC09
106     0xDE, // AC10
107     0xDC, // AC11
108     0xDF, // BKSL
109     0xE2, // LTGT
110     0x59, // AB01
111     0x58, // AB02
112     0x43, // AB03
113     0x56, // AB04
114     0x42, // AB05
115     0x4E, // AB06
116     0x4D, // AB07
117     0xBC, // AB08
118     0xBE, // AB09
119     0xBD, // AB10
120     0x20  // SPCE
121   ];
122
123   var data = i18n.input.chrome.inputview.content.util.createData(
124       keyCharacters, viewIdPrefix_, true, true, keyCodes);
125   data['id'] = 'ch-fr';
126   google.ime.chrome.inputview.onConfigLoaded(data);
127 }) ();