OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of html; | 5 part of html; |
6 | 6 |
7 /** | 7 /** |
8 * Defines the standard keyboard identifier names for keys that are returned | 8 * Defines the standard keyboard identifier names for keys that are returned |
9 * by KeyboardEvent.getKeyboardIdentifier when the key does not have a direct | 9 * by KeyboardEvent.getKeyboardIdentifier when the key does not have a direct |
10 * unicode mapping. | 10 * unicode mapping. |
11 */ | 11 */ |
12 abstract class _KeyName { | 12 abstract class _KeyName { |
13 | |
14 /** The Accept (Commit, OK) key */ | 13 /** The Accept (Commit, OK) key */ |
15 static const String ACCEPT = "Accept"; | 14 static const String ACCEPT = "Accept"; |
16 | 15 |
17 /** The Add key */ | 16 /** The Add key */ |
18 static const String ADD = "Add"; | 17 static const String ADD = "Add"; |
19 | 18 |
20 /** The Again key */ | 19 /** The Again key */ |
21 static const String AGAIN = "Again"; | 20 static const String AGAIN = "Again"; |
22 | 21 |
23 /** The All Candidates key */ | 22 /** The All Candidates key */ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 /** The End key */ | 109 /** The End key */ |
111 static const String END = "End"; | 110 static const String END = "End"; |
112 | 111 |
113 /** | 112 /** |
114 * The Enter key. Note: This key value must also be used for the Return | 113 * The Enter key. Note: This key value must also be used for the Return |
115 * (Macintosh numpad) key | 114 * (Macintosh numpad) key |
116 */ | 115 */ |
117 static const String ENTER = "Enter"; | 116 static const String ENTER = "Enter"; |
118 | 117 |
119 /** The Erase EOF key */ | 118 /** The Erase EOF key */ |
120 static const String ERASE_EOF= "EraseEof"; | 119 static const String ERASE_EOF = "EraseEof"; |
121 | 120 |
122 /** The Execute key */ | 121 /** The Execute key */ |
123 static const String EXECUTE = "Execute"; | 122 static const String EXECUTE = "Execute"; |
124 | 123 |
125 /** The Exsel key */ | 124 /** The Exsel key */ |
126 static const String EXSEL = "Exsel"; | 125 static const String EXSEL = "Exsel"; |
127 | 126 |
128 /** The Function switch key */ | 127 /** The Function switch key */ |
129 static const String FN = "Fn"; | 128 static const String FN = "Fn"; |
130 | 129 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 | 477 |
479 /** | 478 /** |
480 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key | 479 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key |
481 */ | 480 */ |
482 static const String DEAD_VOICED_SOUND = "DeadVoicedSound"; | 481 static const String DEAD_VOICED_SOUND = "DeadVoicedSound"; |
483 | 482 |
484 /** | 483 /** |
485 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced | 484 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced |
486 * Sound) key | 485 * Sound) key |
487 */ | 486 */ |
488 static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; | 487 static const String DEC_SEMIVOICED_SOUND = "DeadSemivoicedSound"; |
489 | 488 |
490 /** | 489 /** |
491 * Key value used when an implementation is unable to identify another key | 490 * Key value used when an implementation is unable to identify another key |
492 * value, due to either hardware, platform, or software constraints | 491 * value, due to either hardware, platform, or software constraints |
493 */ | 492 */ |
494 static const String UNIDENTIFIED = "Unidentified"; | 493 static const String UNIDENTIFIED = "Unidentified"; |
495 } | 494 } |
OLD | NEW |