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 // This file has no header guard because it is explicily intended | 5 // This file has no header guard because it is explicily intended |
6 // to be included more than once with different definitions of the | 6 // to be included more than once with different definitions of the |
7 // macros DOM_KEY_MAP and DOM_KEY_MAP_DECLARATION. | 7 // macros DOM_KEY_MAP and DOM_KEY_MAP_DECLARATION. |
8 | 8 |
9 // This is a table of DOM Level 3 .key values, used to generate identifiers | 9 // This is a table of DOM Level 3 .key values, used to generate identifiers |
10 // (enums) and string tables. These names are defined by: | 10 // (enums) and string tables. These names are defined by: |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 DOM_KEY_MAP("Hyper", HYPER), | 57 DOM_KEY_MAP("Hyper", HYPER), |
58 DOM_KEY_MAP("Meta", META), | 58 DOM_KEY_MAP("Meta", META), |
59 DOM_KEY_MAP("NumLock", NUM_LOCK), | 59 DOM_KEY_MAP("NumLock", NUM_LOCK), |
60 DOM_KEY_MAP("OS", OS), | 60 DOM_KEY_MAP("OS", OS), |
61 DOM_KEY_MAP("ScrollLock", SCROLL_LOCK), | 61 DOM_KEY_MAP("ScrollLock", SCROLL_LOCK), |
62 DOM_KEY_MAP("Shift", SHIFT), | 62 DOM_KEY_MAP("Shift", SHIFT), |
63 DOM_KEY_MAP("Super", SUPER), | 63 DOM_KEY_MAP("Super", SUPER), |
64 DOM_KEY_MAP("Symbol", SYMBOL), | 64 DOM_KEY_MAP("Symbol", SYMBOL), |
65 DOM_KEY_MAP("SymbolLock", SYMBOL_LOCK), | 65 DOM_KEY_MAP("SymbolLock", SYMBOL_LOCK), |
66 | 66 |
67 // Non-standard value corresponding to XKB keysym ISO_Level5_Shift, | |
68 // an additional printable-character modifier like Shift and AltGraph, | |
69 // used by such layouts as Neo (German) and Multix (French-Canadian). | |
70 // Key Enum | |
Wez
2015/06/08 21:23:23
The DOM UI Events spec guidelines (see http://www.
kpschoedel
2015/06/08 22:30:02
Yes, that section seems clear. (The |key| document
Wez
2015/06/10 23:24:48
That does seem ambiguous - perhaps garykac@ can cl
| |
71 DOM_KEY_MAP("ShiftLevel5", SHIFT_LEVEL5), | |
72 | |
67 // ============================================================ | 73 // ============================================================ |
68 // Whitespace Keys | 74 // Whitespace Keys |
69 // http://www.w3.org/TR/DOM-Level-3-Events-key/#keys-whitespace | 75 // http://www.w3.org/TR/DOM-Level-3-Events-key/#keys-whitespace |
70 // ============================================================ | 76 // ============================================================ |
71 | 77 |
72 // Key Enum | 78 // Key Enum |
73 DOM_KEY_MAP("Enter", ENTER), // Enter, Return | 79 DOM_KEY_MAP("Enter", ENTER), // Enter, Return |
74 DOM_KEY_MAP("Separator", SEPARATOR), | 80 DOM_KEY_MAP("Separator", SEPARATOR), |
75 DOM_KEY_MAP("Tab", TAB), | 81 DOM_KEY_MAP("Tab", TAB), |
76 | 82 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
367 DOM_KEY_MAP("STBPower", STB_POWER), | 373 DOM_KEY_MAP("STBPower", STB_POWER), |
368 DOM_KEY_MAP("Subtitle", SUBTITLE), | 374 DOM_KEY_MAP("Subtitle", SUBTITLE), |
369 DOM_KEY_MAP("Teletext", TELETEXT), | 375 DOM_KEY_MAP("Teletext", TELETEXT), |
370 DOM_KEY_MAP("TV", T_V), | 376 DOM_KEY_MAP("TV", T_V), |
371 DOM_KEY_MAP("TVInput", TV_INPUT), | 377 DOM_KEY_MAP("TVInput", TV_INPUT), |
372 DOM_KEY_MAP("TVPower", TV_POWER), | 378 DOM_KEY_MAP("TVPower", TV_POWER), |
373 DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT), | 379 DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT), |
374 DOM_KEY_MAP("Wink", WINK), | 380 DOM_KEY_MAP("Wink", WINK), |
375 DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE), | 381 DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE), |
376 }; | 382 }; |
OLD | NEW |