| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 /** | 5 /** |
| 6 * Defines the standard keyboard identifier names for keys that are returned | 6 * Defines the standard keyboard identifier names for keys that are returned |
| 7 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct | 7 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct |
| 8 * unicode mapping. | 8 * unicode mapping. |
| 9 */ | 9 */ |
| 10 interface KeyName { | 10 abstract class KeyName { |
| 11 | 11 |
| 12 /** The Accept (Commit, OK) key */ | 12 /** The Accept (Commit, OK) key */ |
| 13 static const String ACCEPT = "Accept"; | 13 static const String ACCEPT = "Accept"; |
| 14 | 14 |
| 15 /** The Add key */ | 15 /** The Add key */ |
| 16 static const String ADD = "Add"; | 16 static const String ADD = "Add"; |
| 17 | 17 |
| 18 /** The Again key */ | 18 /** The Again key */ |
| 19 static const String AGAIN = "Again"; | 19 static const String AGAIN = "Again"; |
| 20 | 20 |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 * Sound) key | 484 * Sound) key |
| 485 */ | 485 */ |
| 486 static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; | 486 static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; |
| 487 | 487 |
| 488 /** | 488 /** |
| 489 * Key value used when an implementation is unable to identify another key | 489 * Key value used when an implementation is unable to identify another key |
| 490 * value, due to either hardware, platform, or software constraints | 490 * value, due to either hardware, platform, or software constraints |
| 491 */ | 491 */ |
| 492 static const String UNIDENTIFIED = "Unidentified"; | 492 static const String UNIDENTIFIED = "Unidentified"; |
| 493 } | 493 } |
| OLD | NEW |