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

Side by Side Diff: lib/html/src/KeyLocation.dart

Issue 10915245: Removing interfaces from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporating review feedback. Created 8 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) 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 key locations returned by 6 * Defines the standard key locations returned by
7 * KeyboardEvent.getKeyLocation. 7 * KeyboardEvent.getKeyLocation.
8 */ 8 */
9 interface KeyLocation { 9 abstract class KeyLocation {
10 10
11 /** 11 /**
12 * The event key is not distinguished as the left or right version 12 * 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 13 * 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). 14 * originate with a virtual key corresponding to the numeric keypad).
15 */ 15 */
16 static const int STANDARD = 0; 16 static const int STANDARD = 0;
17 17
18 /** 18 /**
19 * The event key is in the left key location. 19 * The event key is in the left key location.
(...skipping 16 matching lines...) Expand all
36 * keypad or a virtual keyboard. 36 * keypad or a virtual keyboard.
37 */ 37 */
38 static const int MOBILE = 4; 38 static const int MOBILE = 4;
39 39
40 /** 40 /**
41 * The event key originated on a game controller or a joystick on a mobile 41 * The event key originated on a game controller or a joystick on a mobile
42 * device. 42 * device.
43 */ 43 */
44 static const int JOYSTICK = 5; 44 static const int JOYSTICK = 5;
45 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698