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

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

Issue 2827793002: Format all files under tools and utils directory. (Closed)
Patch Set: Format all files under tools and utils directory. Created 3 years, 8 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
« no previous file with comments | « tools/dom/src/KeyCode.dart ('k') | tools/dom/src/KeyName.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 part of html; 5 part of html;
6 6
7 /** 7 /**
8 * Defines the standard key locations returned by 8 * Defines the standard key locations returned by
9 * KeyboardEvent.getKeyLocation. 9 * KeyboardEvent.getKeyLocation.
10 */ 10 */
11 abstract class KeyLocation { 11 abstract class KeyLocation {
12
13 /** 12 /**
14 * The event key is not distinguished as the left or right version 13 * The event key is not distinguished as the left or right version
15 * of the key, and did not originate from the numeric keypad (or did not 14 * of the key, and did not originate from the numeric keypad (or did not
16 * originate with a virtual key corresponding to the numeric keypad). 15 * originate with a virtual key corresponding to the numeric keypad).
17 */ 16 */
18 static const int STANDARD = 0; 17 static const int STANDARD = 0;
19 18
20 /** 19 /**
21 * The event key is in the left key location. 20 * The event key is in the left key location.
22 */ 21 */
(...skipping 15 matching lines...) Expand all
38 * keypad or a virtual keyboard. 37 * keypad or a virtual keyboard.
39 */ 38 */
40 static const int MOBILE = 4; 39 static const int MOBILE = 4;
41 40
42 /** 41 /**
43 * The event key originated on a game controller or a joystick on a mobile 42 * The event key originated on a game controller or a joystick on a mobile
44 * device. 43 * device.
45 */ 44 */
46 static const int JOYSTICK = 5; 45 static const int JOYSTICK = 5;
47 } 46 }
OLDNEW
« no previous file with comments | « tools/dom/src/KeyCode.dart ('k') | tools/dom/src/KeyName.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698