Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: tools/dom/src/KeyName.dart

Issue 23455033: Fully polyfill KeyEvent so that you can programmatically create your own "keyboard" events. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 KeyEvent.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 {
Emily Fortuna 2013/09/04 00:08:08 this was only used when associated with KeyIdentif
13 13
14 /** The Accept (Commit, OK) key */ 14 /** The Accept (Commit, OK) key */
15 static const String ACCEPT = "Accept"; 15 static const String ACCEPT = "Accept";
16 16
17 /** The Add key */ 17 /** The Add key */
18 static const String ADD = "Add"; 18 static const String ADD = "Add";
19 19
20 /** The Again key */ 20 /** The Again key */
21 static const String AGAIN = "Again"; 21 static const String AGAIN = "Again";
22 22
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 * Sound) key 486 * Sound) key
487 */ 487 */
488 static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; 488 static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound";
489 489
490 /** 490 /**
491 * Key value used when an implementation is unable to identify another key 491 * Key value used when an implementation is unable to identify another key
492 * value, due to either hardware, platform, or software constraints 492 * value, due to either hardware, platform, or software constraints
493 */ 493 */
494 static const String UNIDENTIFIED = "Unidentified"; 494 static const String UNIDENTIFIED = "Unidentified";
495 } 495 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698