OLD | NEW |
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 keycode values for keys that are returned by | 8 * Defines the keycode values for keys that are returned by |
9 * KeyboardEvent.keyCode. | 9 * KeyboardEvent.keyCode. |
10 * | 10 * |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 return (keyCode == SPACE || keyCode == QUESTION_MARK || keyCode == NUM_PLUS | 219 return (keyCode == SPACE || keyCode == QUESTION_MARK || keyCode == NUM_PLUS |
220 || keyCode == NUM_MINUS || keyCode == NUM_PERIOD || | 220 || keyCode == NUM_MINUS || keyCode == NUM_PERIOD || |
221 keyCode == NUM_DIVISION || keyCode == SEMICOLON || | 221 keyCode == NUM_DIVISION || keyCode == SEMICOLON || |
222 keyCode == FF_SEMICOLON || keyCode == DASH || keyCode == EQUALS || | 222 keyCode == FF_SEMICOLON || keyCode == DASH || keyCode == EQUALS || |
223 keyCode == FF_EQUALS || keyCode == COMMA || keyCode == PERIOD || | 223 keyCode == FF_EQUALS || keyCode == COMMA || keyCode == PERIOD || |
224 keyCode == SLASH || keyCode == APOSTROPHE || keyCode == SINGLE_QUOTE || | 224 keyCode == SLASH || keyCode == APOSTROPHE || keyCode == SINGLE_QUOTE || |
225 keyCode == OPEN_SQUARE_BRACKET || keyCode == BACKSLASH || | 225 keyCode == OPEN_SQUARE_BRACKET || keyCode == BACKSLASH || |
226 keyCode == CLOSE_SQUARE_BRACKET); | 226 keyCode == CLOSE_SQUARE_BRACKET); |
227 } | 227 } |
228 } | 228 } |
OLD | NEW |