OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "ui/events/event_constants.h" | 10 #include "ui/events/event_constants.h" |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 /* 8 */ {{0x0024, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_8}, | 188 /* 8 */ {{0x0024, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_8}, |
189 // dollar sign, *, * | 189 // dollar sign, *, * |
190 /* 9 */ {{0x0024, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_1}, | 190 /* 9 */ {{0x0024, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_1}, |
191 // percent sign, *, * | 191 // percent sign, *, * |
192 /* 10 */ {{0x0025, 0x2460, 0x2461, DomCode::NONE}, VKEY_5}, | 192 /* 10 */ {{0x0025, 0x2460, 0x2461, DomCode::NONE}, VKEY_5}, |
193 // ampersand, *, * | 193 // ampersand, *, * |
194 /* 11 */ {{0x0026, 0x2460, 0x2461, DomCode::NONE}, VKEY_1}, | 194 /* 11 */ {{0x0026, 0x2460, 0x2461, DomCode::NONE}, VKEY_1}, |
195 // apostrophe, unmapped, * | 195 // apostrophe, unmapped, * |
196 /* 12 */ {{0x0027, 0x0000, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, | 196 /* 12 */ {{0x0027, 0x0000, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, |
197 // apostrophe, quotation mark, unmapped | 197 // apostrophe, quotation mark, unmapped |
198 /* 13 */ {{0x0027, 0x0022, 0x2461, DomCode::KEY_Z}, VKEY_Z}, | 198 /* 13 */ {{0x0027, 0x0022, 0x2461, DomCode::US_Z}, VKEY_Z}, |
199 // apostrophe, quotation mark, R caron | 199 // apostrophe, quotation mark, R caron |
200 /* 14 */ {{0x0027, 0x0022, 0x0158, DomCode::KEY_Z}, VKEY_OEM_7}, | 200 /* 14 */ {{0x0027, 0x0022, 0x0158, DomCode::US_Z}, VKEY_OEM_7}, |
201 // apostrophe, quotation mark, * | 201 // apostrophe, quotation mark, * |
202 /* 15 */ {{0x0027, 0x0022, 0x2461, DomCode::BACKQUOTE}, VKEY_OEM_3}, | 202 /* 15 */ {{0x0027, 0x0022, 0x2461, DomCode::BACKQUOTE}, VKEY_OEM_3}, |
203 // apostrophe, quotation mark, * | 203 // apostrophe, quotation mark, * |
204 /* 16 */ {{0x0027, 0x0022, 0x2461, DomCode::QUOTE}, VKEY_OEM_7}, | 204 /* 16 */ {{0x0027, 0x0022, 0x2461, DomCode::QUOTE}, VKEY_OEM_7}, |
205 // apostrophe, asterisk, unmapped | 205 // apostrophe, asterisk, unmapped |
206 /* 17 */ {{0x0027, 0x002A, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_2}, | 206 /* 17 */ {{0x0027, 0x002A, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_2}, |
207 // apostrophe, asterisk, unmapped | 207 // apostrophe, asterisk, unmapped |
208 /* 18 */ {{0x0027, 0x002A, 0x2461, DomCode::EQUAL}, VKEY_OEM_PLUS}, | 208 /* 18 */ {{0x0027, 0x002A, 0x2461, DomCode::EQUAL}, VKEY_OEM_PLUS}, |
209 // apostrophe, asterisk, vulgar fraction one half | 209 // apostrophe, asterisk, vulgar fraction one half |
210 /* 19 */ {{0x0027, 0x002A, 0x00BD, DomCode::BACKSLASH}, VKEY_OEM_5}, | 210 /* 19 */ {{0x0027, 0x002A, 0x00BD, DomCode::BACKSLASH}, VKEY_OEM_5}, |
211 // apostrophe, asterisk, L stroke | 211 // apostrophe, asterisk, L stroke |
212 /* 20 */ {{0x0027, 0x002A, 0x0141, DomCode::BACKSLASH}, VKEY_OEM_2}, | 212 /* 20 */ {{0x0027, 0x002A, 0x0141, DomCode::BACKSLASH}, VKEY_OEM_2}, |
213 // apostrophe, question mark, unmapped | 213 // apostrophe, question mark, unmapped |
214 /* 21 */ {{0x0027, 0x003F, 0x2461, DomCode::MINUS}, VKEY_OEM_4}, | 214 /* 21 */ {{0x0027, 0x003F, 0x2461, DomCode::MINUS}, VKEY_OEM_4}, |
215 // apostrophe, question mark, Y acute | 215 // apostrophe, question mark, Y acute |
216 /* 22 */ {{0x0027, 0x003F, 0x00DD, DomCode::MINUS}, VKEY_OEM_4}, | 216 /* 22 */ {{0x0027, 0x003F, 0x00DD, DomCode::MINUS}, VKEY_OEM_4}, |
217 // apostrophe, commercial at, unmapped | 217 // apostrophe, commercial at, unmapped |
218 /* 23 */ {{0x0027, 0x0040, 0x2461, DomCode::QUOTE}, VKEY_OEM_3}, | 218 /* 23 */ {{0x0027, 0x0040, 0x2461, DomCode::QUOTE}, VKEY_OEM_3}, |
219 // apostrophe, middle dot, * | 219 // apostrophe, middle dot, * |
220 /* 24 */ {{0x0027, 0x00B7, 0x2461, DomCode::BACKQUOTE}, VKEY_OEM_5}, | 220 /* 24 */ {{0x0027, 0x00B7, 0x2461, DomCode::BACKQUOTE}, VKEY_OEM_5}, |
221 // apostrophe, *, * | 221 // apostrophe, *, * |
222 /* 25 */ {{0x0027, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_1}, | 222 /* 25 */ {{0x0027, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_1}, |
223 // apostrophe, *, * | 223 // apostrophe, *, * |
224 /* 26 */ {{0x0027, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, | 224 /* 26 */ {{0x0027, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, |
225 // apostrophe, *, * | 225 // apostrophe, *, * |
226 /* 27 */ {{0x0027, 0x2460, 0x2461, DomCode::KEY_Q}, VKEY_OEM_7}, | 226 /* 27 */ {{0x0027, 0x2460, 0x2461, DomCode::US_Q}, VKEY_OEM_7}, |
227 // apostrophe, *, * | 227 // apostrophe, *, * |
228 /* 28 */ {{0x0027, 0x2460, 0x2461, DomCode::SLASH}, VKEY_OEM_7}, | 228 /* 28 */ {{0x0027, 0x2460, 0x2461, DomCode::SLASH}, VKEY_OEM_7}, |
229 // left parenthesis, *, * | 229 // left parenthesis, *, * |
230 /* 29 */ {{0x0028, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, | 230 /* 29 */ {{0x0028, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, |
231 // left parenthesis, *, * | 231 // left parenthesis, *, * |
232 /* 30 */ {{0x0028, 0x2460, 0x2461, DomCode::DIGIT5}, VKEY_5}, | 232 /* 30 */ {{0x0028, 0x2460, 0x2461, DomCode::DIGIT5}, VKEY_5}, |
233 // left parenthesis, *, * | 233 // left parenthesis, *, * |
234 /* 31 */ {{0x0028, 0x2460, 0x2461, DomCode::DIGIT9}, VKEY_9}, | 234 /* 31 */ {{0x0028, 0x2460, 0x2461, DomCode::DIGIT9}, VKEY_9}, |
235 // right parenthesis, *, * | 235 // right parenthesis, *, * |
236 /* 32 */ {{0x0029, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, | 236 /* 32 */ {{0x0029, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, |
(...skipping 28 matching lines...) Expand all Loading... |
265 /* 46 */ {{0x002C, 0x2460, 0x2461, DomCode::COMMA}, VKEY_OEM_COMMA}, | 265 /* 46 */ {{0x002C, 0x2460, 0x2461, DomCode::COMMA}, VKEY_OEM_COMMA}, |
266 // comma, *, * | 266 // comma, *, * |
267 /* 47 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT3}, VKEY_3}, | 267 /* 47 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT3}, VKEY_3}, |
268 // comma, *, * | 268 // comma, *, * |
269 /* 48 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT5}, VKEY_5}, | 269 /* 48 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT5}, VKEY_5}, |
270 // comma, *, * | 270 // comma, *, * |
271 /* 49 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, | 271 /* 49 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, |
272 // comma, *, * | 272 // comma, *, * |
273 /* 50 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT9}, VKEY_9}, | 273 /* 50 */ {{0x002C, 0x2460, 0x2461, DomCode::DIGIT9}, VKEY_9}, |
274 // comma, *, * | 274 // comma, *, * |
275 /* 51 */ {{0x002C, 0x2460, 0x2461, DomCode::KEY_M}, VKEY_OEM_COMMA}, | 275 /* 51 */ {{0x002C, 0x2460, 0x2461, DomCode::US_M}, VKEY_OEM_COMMA}, |
276 // comma, *, * | 276 // comma, *, * |
277 /* 52 */ {{0x002C, 0x2460, 0x2461, DomCode::KEY_V}, VKEY_OEM_COMMA}, | 277 /* 52 */ {{0x002C, 0x2460, 0x2461, DomCode::US_V}, VKEY_OEM_COMMA}, |
278 // comma, *, * | 278 // comma, *, * |
279 /* 53 */ {{0x002C, 0x2460, 0x2461, DomCode::KEY_W}, VKEY_OEM_COMMA}, | 279 /* 53 */ {{0x002C, 0x2460, 0x2461, DomCode::US_W}, VKEY_OEM_COMMA}, |
280 // hyphen-minus, equals sign, * | 280 // hyphen-minus, equals sign, * |
281 /* 54 */ {{0x002D, 0x003D, 0x2461, DomCode::SLASH}, VKEY_OEM_MINUS}, | 281 /* 54 */ {{0x002D, 0x003D, 0x2461, DomCode::SLASH}, VKEY_OEM_MINUS}, |
282 // hyphen-minus, low line, unmapped | 282 // hyphen-minus, low line, unmapped |
283 /* 55 */ {{0x002D, 0x005F, 0x2461, DomCode::EQUAL}, VKEY_OEM_MINUS}, | 283 /* 55 */ {{0x002D, 0x005F, 0x2461, DomCode::EQUAL}, VKEY_OEM_MINUS}, |
284 // hyphen-minus, low line, unmapped | 284 // hyphen-minus, low line, unmapped |
285 /* 56 */ {{0x002D, 0x005F, 0x2461, DomCode::SLASH}, VKEY_OEM_MINUS}, | 285 /* 56 */ {{0x002D, 0x005F, 0x2461, DomCode::SLASH}, VKEY_OEM_MINUS}, |
286 // hyphen-minus, low line, asterisk | 286 // hyphen-minus, low line, asterisk |
287 /* 57 */ {{0x002D, 0x005F, 0x002A, DomCode::SLASH}, VKEY_OEM_MINUS}, | 287 /* 57 */ {{0x002D, 0x005F, 0x002A, DomCode::SLASH}, VKEY_OEM_MINUS}, |
288 // hyphen-minus, low line, solidus | 288 // hyphen-minus, low line, solidus |
289 /* 58 */ {{0x002D, 0x005F, 0x002F, DomCode::SLASH}, VKEY_OEM_2}, | 289 /* 58 */ {{0x002D, 0x005F, 0x002F, DomCode::SLASH}, VKEY_OEM_2}, |
290 // hyphen-minus, low line, n | 290 // hyphen-minus, low line, n |
291 /* 59 */ {{0x002D, 0x005F, 0x006E, DomCode::SLASH}, VKEY_OEM_MINUS}, | 291 /* 59 */ {{0x002D, 0x005F, 0x006E, DomCode::SLASH}, VKEY_OEM_MINUS}, |
292 // hyphen-minus, low line, r cedilla | 292 // hyphen-minus, low line, r cedilla |
293 /* 60 */ {{0x002D, 0x005F, 0x0157, DomCode::EQUAL}, VKEY_OEM_4}, | 293 /* 60 */ {{0x002D, 0x005F, 0x0157, DomCode::EQUAL}, VKEY_OEM_4}, |
294 // hyphen-minus, *, * | 294 // hyphen-minus, *, * |
295 /* 61 */ {{0x002D, 0x2460, 0x2461, DomCode::DIGIT2}, VKEY_2}, | 295 /* 61 */ {{0x002D, 0x2460, 0x2461, DomCode::DIGIT2}, VKEY_2}, |
296 // hyphen-minus, *, * | 296 // hyphen-minus, *, * |
297 /* 62 */ {{0x002D, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, | 297 /* 62 */ {{0x002D, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, |
298 // hyphen-minus, *, * | 298 // hyphen-minus, *, * |
299 /* 63 */ {{0x002D, 0x2460, 0x2461, DomCode::KEY_A}, VKEY_OEM_MINUS}, | 299 /* 63 */ {{0x002D, 0x2460, 0x2461, DomCode::US_A}, VKEY_OEM_MINUS}, |
300 // hyphen-minus, *, * | 300 // hyphen-minus, *, * |
301 /* 64 */ {{0x002D, 0x2460, 0x2461, DomCode::MINUS}, VKEY_OEM_MINUS}, | 301 /* 64 */ {{0x002D, 0x2460, 0x2461, DomCode::MINUS}, VKEY_OEM_MINUS}, |
302 // hyphen-minus, *, * | 302 // hyphen-minus, *, * |
303 /* 65 */ {{0x002D, 0x2460, 0x2461, DomCode::QUOTE}, VKEY_OEM_MINUS}, | 303 /* 65 */ {{0x002D, 0x2460, 0x2461, DomCode::QUOTE}, VKEY_OEM_MINUS}, |
304 // full stop, *, * | 304 // full stop, *, * |
305 /* 66 */ {{0x002E, 0x2460, 0x2461, DomCode::DIGIT7}, VKEY_7}, | 305 /* 66 */ {{0x002E, 0x2460, 0x2461, DomCode::DIGIT7}, VKEY_7}, |
306 // full stop, *, * | 306 // full stop, *, * |
307 /* 67 */ {{0x002E, 0x2460, 0x2461, DomCode::DIGIT8}, VKEY_8}, | 307 /* 67 */ {{0x002E, 0x2460, 0x2461, DomCode::DIGIT8}, VKEY_8}, |
308 // full stop, *, * | 308 // full stop, *, * |
309 /* 68 */ {{0x002E, 0x2460, 0x2461, DomCode::KEY_E}, VKEY_OEM_PERIOD}, | 309 /* 68 */ {{0x002E, 0x2460, 0x2461, DomCode::US_E}, VKEY_OEM_PERIOD}, |
310 // full stop, *, * | 310 // full stop, *, * |
311 /* 69 */ {{0x002E, 0x2460, 0x2461, DomCode::KEY_O}, VKEY_OEM_PERIOD}, | 311 /* 69 */ {{0x002E, 0x2460, 0x2461, DomCode::US_O}, VKEY_OEM_PERIOD}, |
312 // full stop, *, * | 312 // full stop, *, * |
313 /* 70 */ {{0x002E, 0x2460, 0x2461, DomCode::KEY_R}, VKEY_OEM_PERIOD}, | 313 /* 70 */ {{0x002E, 0x2460, 0x2461, DomCode::US_R}, VKEY_OEM_PERIOD}, |
314 // full stop, *, * | 314 // full stop, *, * |
315 /* 71 */ {{0x002E, 0x2460, 0x2461, DomCode::PERIOD}, VKEY_OEM_PERIOD}, | 315 /* 71 */ {{0x002E, 0x2460, 0x2461, DomCode::PERIOD}, VKEY_OEM_PERIOD}, |
316 // full stop, *, * | 316 // full stop, *, * |
317 /* 72 */ {{0x002E, 0x2460, 0x2461, DomCode::QUOTE}, VKEY_OEM_7}, | 317 /* 72 */ {{0x002E, 0x2460, 0x2461, DomCode::QUOTE}, VKEY_OEM_7}, |
318 // full stop, *, * | 318 // full stop, *, * |
319 /* 73 */ {{0x002E, 0x2460, 0x2461, DomCode::SLASH}, VKEY_OEM_2}, | 319 /* 73 */ {{0x002E, 0x2460, 0x2461, DomCode::SLASH}, VKEY_OEM_2}, |
320 // solidus, digit zero, * | 320 // solidus, digit zero, * |
321 /* 74 */ {{0x002F, 0x0030, 0x2461, DomCode::DIGIT0}, VKEY_0}, | 321 /* 74 */ {{0x002F, 0x0030, 0x2461, DomCode::DIGIT0}, VKEY_0}, |
322 // solidus, digit three, * | 322 // solidus, digit three, * |
323 /* 75 */ {{0x002F, 0x0033, 0x2461, DomCode::DIGIT3}, VKEY_3}, | 323 /* 75 */ {{0x002F, 0x0033, 0x2461, DomCode::DIGIT3}, VKEY_3}, |
(...skipping 25 matching lines...) Expand all Loading... |
349 /* 88 */ {{0x003B, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_1}, | 349 /* 88 */ {{0x003B, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_1}, |
350 // semicolon, *, * | 350 // semicolon, *, * |
351 /* 89 */ {{0x003B, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, | 351 /* 89 */ {{0x003B, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, |
352 // semicolon, *, * | 352 // semicolon, *, * |
353 /* 90 */ {{0x003B, 0x2460, 0x2461, DomCode::COMMA}, VKEY_OEM_PERIOD}, | 353 /* 90 */ {{0x003B, 0x2460, 0x2461, DomCode::COMMA}, VKEY_OEM_PERIOD}, |
354 // semicolon, *, * | 354 // semicolon, *, * |
355 /* 91 */ {{0x003B, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, | 355 /* 91 */ {{0x003B, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, |
356 // semicolon, *, * | 356 // semicolon, *, * |
357 /* 92 */ {{0x003B, 0x2460, 0x2461, DomCode::DIGIT8}, VKEY_8}, | 357 /* 92 */ {{0x003B, 0x2460, 0x2461, DomCode::DIGIT8}, VKEY_8}, |
358 // semicolon, *, * | 358 // semicolon, *, * |
359 /* 93 */ {{0x003B, 0x2460, 0x2461, DomCode::KEY_Q}, VKEY_OEM_1}, | 359 /* 93 */ {{0x003B, 0x2460, 0x2461, DomCode::US_Q}, VKEY_OEM_1}, |
360 // semicolon, *, * | 360 // semicolon, *, * |
361 /* 94 */ {{0x003B, 0x2460, 0x2461, DomCode::KEY_Z}, VKEY_OEM_1}, | 361 /* 94 */ {{0x003B, 0x2460, 0x2461, DomCode::US_Z}, VKEY_OEM_1}, |
362 // semicolon, *, * | 362 // semicolon, *, * |
363 /* 95 */ {{0x003B, 0x2460, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_1}, | 363 /* 95 */ {{0x003B, 0x2460, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_1}, |
364 // semicolon, *, * | 364 // semicolon, *, * |
365 /* 96 */ {{0x003B, 0x2460, 0x2461, DomCode::SLASH}, VKEY_OEM_2}, | 365 /* 96 */ {{0x003B, 0x2460, 0x2461, DomCode::SLASH}, VKEY_OEM_2}, |
366 // less-than sign, *, * | 366 // less-than sign, *, * |
367 /* 97 */ {{0x003C, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_5}, | 367 /* 97 */ {{0x003C, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_5}, |
368 // equals sign, percent sign, unmapped | 368 // equals sign, percent sign, unmapped |
369 /* 98 */ {{0x003D, 0x0025, 0x2461, DomCode::MINUS}, VKEY_OEM_PLUS}, | 369 /* 98 */ {{0x003D, 0x0025, 0x2461, DomCode::MINUS}, VKEY_OEM_PLUS}, |
370 // equals sign, percent sign, hyphen-minus | 370 // equals sign, percent sign, hyphen-minus |
371 /* 99 */ {{0x003D, 0x0025, 0x002D, DomCode::MINUS}, VKEY_OEM_MINUS}, | 371 /* 99 */ {{0x003D, 0x0025, 0x002D, DomCode::MINUS}, VKEY_OEM_MINUS}, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 /* 218 */ {{0x00FA, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, | 610 /* 218 */ {{0x00FA, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, |
611 // u diaeresis, U diaeresis, unmapped | 611 // u diaeresis, U diaeresis, unmapped |
612 /* 219 */ {{0x00FC, 0x00DC, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_1}, | 612 /* 219 */ {{0x00FC, 0x00DC, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_1}, |
613 // u diaeresis, U diaeresis, unmapped | 613 // u diaeresis, U diaeresis, unmapped |
614 /* 220 */ {{0x00FC, 0x00DC, 0x2461, DomCode::MINUS}, VKEY_OEM_2}, | 614 /* 220 */ {{0x00FC, 0x00DC, 0x2461, DomCode::MINUS}, VKEY_OEM_2}, |
615 // u diaeresis, U diaeresis, L stroke | 615 // u diaeresis, U diaeresis, L stroke |
616 /* 221 */ {{0x00FC, 0x00DC, 0x0141, DomCode::BRACKET_LEFT}, VKEY_OEM_3}, | 616 /* 221 */ {{0x00FC, 0x00DC, 0x0141, DomCode::BRACKET_LEFT}, VKEY_OEM_3}, |
617 // u diaeresis, e grave, * | 617 // u diaeresis, e grave, * |
618 /* 222 */ {{0x00FC, 0x00E8, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_1}, | 618 /* 222 */ {{0x00FC, 0x00E8, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_1}, |
619 // u diaeresis, *, * | 619 // u diaeresis, *, * |
620 /* 223 */ {{0x00FC, 0x2460, 0x2461, DomCode::KEY_W}, VKEY_W}, | 620 /* 223 */ {{0x00FC, 0x2460, 0x2461, DomCode::US_W}, VKEY_W}, |
621 // y acute, *, * | 621 // y acute, *, * |
622 /* 224 */ {{0x00FD, 0x2460, 0x2461, DomCode::NONE}, VKEY_7}, | 622 /* 224 */ {{0x00FD, 0x2460, 0x2461, DomCode::NONE}, VKEY_7}, |
623 // thorn, *, * | 623 // thorn, *, * |
624 /* 225 */ {{0x00FE, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_MINUS}, | 624 /* 225 */ {{0x00FE, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_MINUS}, |
625 // a macron, *, * | 625 // a macron, *, * |
626 /* 226 */ {{0x0101, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_8}, | 626 /* 226 */ {{0x0101, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_8}, |
627 // a breve, *, * | 627 // a breve, *, * |
628 /* 227 */ {{0x0103, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_4}, | 628 /* 227 */ {{0x0103, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_4}, |
629 // a breve, *, * | 629 // a breve, *, * |
630 /* 228 */ {{0x0103, 0x2460, 0x2461, DomCode::DIGIT1}, VKEY_1}, | 630 /* 228 */ {{0x0103, 0x2460, 0x2461, DomCode::DIGIT1}, VKEY_1}, |
631 // a ogonek, *, * | 631 // a ogonek, *, * |
632 /* 229 */ {{0x0105, 0x2460, 0x2461, DomCode::DIGIT1}, VKEY_1}, | 632 /* 229 */ {{0x0105, 0x2460, 0x2461, DomCode::DIGIT1}, VKEY_1}, |
633 // a ogonek, *, * | 633 // a ogonek, *, * |
634 /* 230 */ {{0x0105, 0x2460, 0x2461, DomCode::KEY_Q}, VKEY_Q}, | 634 /* 230 */ {{0x0105, 0x2460, 0x2461, DomCode::US_Q}, VKEY_Q}, |
635 // a ogonek, *, * | 635 // a ogonek, *, * |
636 /* 231 */ {{0x0105, 0x2460, 0x2461, DomCode::QUOTE}, VKEY_OEM_7}, | 636 /* 231 */ {{0x0105, 0x2460, 0x2461, DomCode::QUOTE}, VKEY_OEM_7}, |
637 // c acute, *, * | 637 // c acute, *, * |
638 /* 232 */ {{0x0107, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_7}, | 638 /* 232 */ {{0x0107, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_7}, |
639 // c dot above, *, * | 639 // c dot above, *, * |
640 /* 233 */ {{0x010B, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_3}, | 640 /* 233 */ {{0x010B, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_3}, |
641 // c caron, *, * | 641 // c caron, *, * |
642 /* 234 */ {{0x010D, 0x2460, 0x2461, DomCode::COMMA}, VKEY_OEM_COMMA}, | 642 /* 234 */ {{0x010D, 0x2460, 0x2461, DomCode::COMMA}, VKEY_OEM_COMMA}, |
643 // c caron, *, * | 643 // c caron, *, * |
644 /* 235 */ {{0x010D, 0x2460, 0x2461, DomCode::DIGIT2}, VKEY_2}, | 644 /* 235 */ {{0x010D, 0x2460, 0x2461, DomCode::DIGIT2}, VKEY_2}, |
645 // c caron, *, * | 645 // c caron, *, * |
646 /* 236 */ {{0x010D, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, | 646 /* 236 */ {{0x010D, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, |
647 // c caron, *, * | 647 // c caron, *, * |
648 /* 237 */ {{0x010D, 0x2460, 0x2461, DomCode::KEY_P}, VKEY_X}, | 648 /* 237 */ {{0x010D, 0x2460, 0x2461, DomCode::US_P}, VKEY_X}, |
649 // c caron, *, * | 649 // c caron, *, * |
650 /* 238 */ {{0x010D, 0x2460, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_1}, | 650 /* 238 */ {{0x010D, 0x2460, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_1}, |
651 // d stroke, *, * | 651 // d stroke, *, * |
652 /* 239 */ {{0x0111, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, | 652 /* 239 */ {{0x0111, 0x2460, 0x2461, DomCode::BRACKET_RIGHT}, VKEY_OEM_6}, |
653 // d stroke, *, * | 653 // d stroke, *, * |
654 /* 240 */ {{0x0111, 0x2460, 0x2461, DomCode::DIGIT0}, VKEY_0}, | 654 /* 240 */ {{0x0111, 0x2460, 0x2461, DomCode::DIGIT0}, VKEY_0}, |
655 // e macron, *, * | 655 // e macron, *, * |
656 /* 241 */ {{0x0113, 0x2460, 0x2461, DomCode::NONE}, VKEY_W}, | 656 /* 241 */ {{0x0113, 0x2460, 0x2461, DomCode::NONE}, VKEY_W}, |
657 // e dot above, *, * | 657 // e dot above, *, * |
658 /* 242 */ {{0x0117, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, | 658 /* 242 */ {{0x0117, 0x2460, 0x2461, DomCode::DIGIT4}, VKEY_4}, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 /* 264 */ {{0x015F, 0x2460, 0x2461, DomCode::PERIOD}, VKEY_OEM_PERIOD}, | 702 /* 264 */ {{0x015F, 0x2460, 0x2461, DomCode::PERIOD}, VKEY_OEM_PERIOD}, |
703 // s cedilla, *, * | 703 // s cedilla, *, * |
704 /* 265 */ {{0x015F, 0x2460, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_1}, | 704 /* 265 */ {{0x015F, 0x2460, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_1}, |
705 // s caron, *, * | 705 // s caron, *, * |
706 /* 266 */ {{0x0161, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_4}, | 706 /* 266 */ {{0x0161, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_4}, |
707 // s caron, *, * | 707 // s caron, *, * |
708 /* 267 */ {{0x0161, 0x2460, 0x2461, DomCode::DIGIT3}, VKEY_3}, | 708 /* 267 */ {{0x0161, 0x2460, 0x2461, DomCode::DIGIT3}, VKEY_3}, |
709 // s caron, *, * | 709 // s caron, *, * |
710 /* 268 */ {{0x0161, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, | 710 /* 268 */ {{0x0161, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, |
711 // s caron, *, * | 711 // s caron, *, * |
712 /* 269 */ {{0x0161, 0x2460, 0x2461, DomCode::KEY_A}, VKEY_OEM_1}, | 712 /* 269 */ {{0x0161, 0x2460, 0x2461, DomCode::US_A}, VKEY_OEM_1}, |
713 // s caron, *, * | 713 // s caron, *, * |
714 /* 270 */ {{0x0161, 0x2460, 0x2461, DomCode::KEY_F}, VKEY_F}, | 714 /* 270 */ {{0x0161, 0x2460, 0x2461, DomCode::US_F}, VKEY_F}, |
715 // s caron, *, * | 715 // s caron, *, * |
716 /* 271 */ {{0x0161, 0x2460, 0x2461, DomCode::PERIOD}, VKEY_OEM_PERIOD}, | 716 /* 271 */ {{0x0161, 0x2460, 0x2461, DomCode::PERIOD}, VKEY_OEM_PERIOD}, |
717 // t cedilla, *, * | 717 // t cedilla, *, * |
718 /* 272 */ {{0x0163, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_7}, | 718 /* 272 */ {{0x0163, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_7}, |
719 // t caron, *, * | 719 // t caron, *, * |
720 /* 273 */ {{0x0165, 0x2460, 0x2461, DomCode::NONE}, VKEY_5}, | 720 /* 273 */ {{0x0165, 0x2460, 0x2461, DomCode::NONE}, VKEY_5}, |
721 // u macron, *, * | 721 // u macron, *, * |
722 /* 274 */ {{0x016B, 0x2460, 0x2461, DomCode::DIGIT8}, VKEY_8}, | 722 /* 274 */ {{0x016B, 0x2460, 0x2461, DomCode::DIGIT8}, VKEY_8}, |
723 // u macron, *, * | 723 // u macron, *, * |
724 /* 275 */ {{0x016B, 0x2460, 0x2461, DomCode::KEY_Q}, VKEY_Q}, | 724 /* 275 */ {{0x016B, 0x2460, 0x2461, DomCode::US_Q}, VKEY_Q}, |
725 // u macron, *, * | 725 // u macron, *, * |
726 /* 276 */ {{0x016B, 0x2460, 0x2461, DomCode::KEY_X}, VKEY_X}, | 726 /* 276 */ {{0x016B, 0x2460, 0x2461, DomCode::US_X}, VKEY_X}, |
727 // u ring above, *, * | 727 // u ring above, *, * |
728 /* 277 */ {{0x016F, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_1}, | 728 /* 277 */ {{0x016F, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_1}, |
729 // u double acute, *, * | 729 // u double acute, *, * |
730 /* 278 */ {{0x0171, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_5}, | 730 /* 278 */ {{0x0171, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_5}, |
731 // u ogonek, U ogonek, unmapped | 731 // u ogonek, U ogonek, unmapped |
732 /* 279 */ {{0x0173, 0x0172, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_3}, | 732 /* 279 */ {{0x0173, 0x0172, 0x2461, DomCode::SEMICOLON}, VKEY_OEM_3}, |
733 // u ogonek, U ogonek, T cedilla | 733 // u ogonek, U ogonek, T cedilla |
734 /* 280 */ {{0x0173, 0x0172, 0x0162, DomCode::SEMICOLON}, VKEY_OEM_1}, | 734 /* 280 */ {{0x0173, 0x0172, 0x0162, DomCode::SEMICOLON}, VKEY_OEM_1}, |
735 // u ogonek, *, * | 735 // u ogonek, *, * |
736 /* 281 */ {{0x0173, 0x2460, 0x2461, DomCode::DIGIT7}, VKEY_7}, | 736 /* 281 */ {{0x0173, 0x2460, 0x2461, DomCode::DIGIT7}, VKEY_7}, |
737 // z dot above, *, * | 737 // z dot above, *, * |
738 /* 282 */ {{0x017C, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, | 738 /* 282 */ {{0x017C, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, |
739 // z dot above, *, * | 739 // z dot above, *, * |
740 /* 283 */ {{0x017C, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_4}, | 740 /* 283 */ {{0x017C, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_OEM_4}, |
741 // z caron, *, * | 741 // z caron, *, * |
742 /* 284 */ {{0x017E, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, | 742 /* 284 */ {{0x017E, 0x2460, 0x2461, DomCode::BACKSLASH}, VKEY_OEM_5}, |
743 // z caron, *, * | 743 // z caron, *, * |
744 /* 285 */ {{0x017E, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_Y}, | 744 /* 285 */ {{0x017E, 0x2460, 0x2461, DomCode::BRACKET_LEFT}, VKEY_Y}, |
745 // z caron, *, * | 745 // z caron, *, * |
746 /* 286 */ {{0x017E, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, | 746 /* 286 */ {{0x017E, 0x2460, 0x2461, DomCode::DIGIT6}, VKEY_6}, |
747 // z caron, *, * | 747 // z caron, *, * |
748 /* 287 */ {{0x017E, 0x2460, 0x2461, DomCode::EQUAL}, VKEY_OEM_PLUS}, | 748 /* 287 */ {{0x017E, 0x2460, 0x2461, DomCode::EQUAL}, VKEY_OEM_PLUS}, |
749 // z caron, *, * | 749 // z caron, *, * |
750 /* 288 */ {{0x017E, 0x2460, 0x2461, DomCode::KEY_W}, VKEY_W}, | 750 /* 288 */ {{0x017E, 0x2460, 0x2461, DomCode::US_W}, VKEY_W}, |
751 // o horn, *, * | 751 // o horn, *, * |
752 /* 289 */ {{0x01A1, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_6}, | 752 /* 289 */ {{0x01A1, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_6}, |
753 // u horn, *, * | 753 // u horn, *, * |
754 /* 290 */ {{0x01B0, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_4}, | 754 /* 290 */ {{0x01B0, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_4}, |
755 // z stroke, *, * | 755 // z stroke, *, * |
756 /* 291 */ {{0x01B6, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_6}, | 756 /* 291 */ {{0x01B6, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_6}, |
757 // schwa, *, * | 757 // schwa, *, * |
758 /* 292 */ {{0x0259, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_3}, | 758 /* 292 */ {{0x0259, 0x2460, 0x2461, DomCode::NONE}, VKEY_OEM_3}, |
759 | 759 |
760 // Simple alphanumeric cases. | 760 // Simple alphanumeric cases. |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 std::string layout_id; | 889 std::string layout_id; |
890 std::string layout_variant; | 890 std::string layout_variant; |
891 XkbKeyboardLayoutEngine::ParseLayoutName(e->layout_name, &layout_id, | 891 XkbKeyboardLayoutEngine::ParseLayoutName(e->layout_name, &layout_id, |
892 &layout_variant); | 892 &layout_variant); |
893 EXPECT_EQ(layout_id, e->layout); | 893 EXPECT_EQ(layout_id, e->layout); |
894 EXPECT_EQ(layout_variant, e->variant); | 894 EXPECT_EQ(layout_variant, e->variant); |
895 } | 895 } |
896 } | 896 } |
897 | 897 |
898 } // namespace ui | 898 } // namespace ui |
OLD | NEW |