| 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 part of html; |
| 6 |
| 5 /** | 7 /** |
| 6 * Defines the standard key locations returned by | 8 * Defines the standard key locations returned by |
| 7 * KeyboardEvent.getKeyLocation. | 9 * KeyboardEvent.getKeyLocation. |
| 8 */ | 10 */ |
| 9 abstract class KeyLocation { | 11 abstract class KeyLocation { |
| 10 | 12 |
| 11 /** | 13 /** |
| 12 * The event key is not distinguished as the left or right version | 14 * The event key is not distinguished as the left or right version |
| 13 * of the key, and did not originate from the numeric keypad (or did not | 15 * of the key, and did not originate from the numeric keypad (or did not |
| 14 * originate with a virtual key corresponding to the numeric keypad). | 16 * originate with a virtual key corresponding to the numeric keypad). |
| (...skipping 21 matching lines...) Expand all Loading... |
| 36 * keypad or a virtual keyboard. | 38 * keypad or a virtual keyboard. |
| 37 */ | 39 */ |
| 38 static const int MOBILE = 4; | 40 static const int MOBILE = 4; |
| 39 | 41 |
| 40 /** | 42 /** |
| 41 * The event key originated on a game controller or a joystick on a mobile | 43 * The event key originated on a game controller or a joystick on a mobile |
| 42 * device. | 44 * device. |
| 43 */ | 45 */ |
| 44 static const int JOYSTICK = 5; | 46 static const int JOYSTICK = 5; |
| 45 } | 47 } |
| OLD | NEW |