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

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

Issue 10880068: - Change "static final" to "static const" in the lib/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
« no previous file with comments | « lib/dom/src/KeyLocation.dart ('k') | lib/dom/src/ReadyState.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 /** 5 /**
6 * Defines the standard keyboard identifier names for keys that are returned 6 * Defines the standard keyboard identifier names for keys that are returned
7 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct 7 * by KeyEvent.getKeyboardIdentifier when the key does not have a direct
8 * unicode mapping. 8 * unicode mapping.
9 */ 9 */
10 interface KeyName { 10 interface KeyName {
11 11
12 /** The Accept (Commit, OK) key */ 12 /** The Accept (Commit, OK) key */
13 static final String ACCEPT = "Accept"; 13 static const String ACCEPT = "Accept";
14 14
15 /** The Add key */ 15 /** The Add key */
16 static final String ADD = "Add"; 16 static const String ADD = "Add";
17 17
18 /** The Again key */ 18 /** The Again key */
19 static final String AGAIN = "Again"; 19 static const String AGAIN = "Again";
20 20
21 /** The All Candidates key */ 21 /** The All Candidates key */
22 static final String ALL_CANDIDATES = "AllCandidates"; 22 static const String ALL_CANDIDATES = "AllCandidates";
23 23
24 /** The Alphanumeric key */ 24 /** The Alphanumeric key */
25 static final String ALPHANUMERIC = "Alphanumeric"; 25 static const String ALPHANUMERIC = "Alphanumeric";
26 26
27 /** The Alt (Menu) key */ 27 /** The Alt (Menu) key */
28 static final String ALT = "Alt"; 28 static const String ALT = "Alt";
29 29
30 /** The Alt-Graph key */ 30 /** The Alt-Graph key */
31 static final String ALT_GRAPH = "AltGraph"; 31 static const String ALT_GRAPH = "AltGraph";
32 32
33 /** The Application key */ 33 /** The Application key */
34 static final String APPS = "Apps"; 34 static const String APPS = "Apps";
35 35
36 /** The ATTN key */ 36 /** The ATTN key */
37 static final String ATTN = "Attn"; 37 static const String ATTN = "Attn";
38 38
39 /** The Browser Back key */ 39 /** The Browser Back key */
40 static final String BROWSER_BACK = "BrowserBack"; 40 static const String BROWSER_BACK = "BrowserBack";
41 41
42 /** The Browser Favorites key */ 42 /** The Browser Favorites key */
43 static final String BROWSER_FAVORTIES = "BrowserFavorites"; 43 static const String BROWSER_FAVORTIES = "BrowserFavorites";
44 44
45 /** The Browser Forward key */ 45 /** The Browser Forward key */
46 static final String BROWSER_FORWARD = "BrowserForward"; 46 static const String BROWSER_FORWARD = "BrowserForward";
47 47
48 /** The Browser Home key */ 48 /** The Browser Home key */
49 static final String BROWSER_NAME = "BrowserHome"; 49 static const String BROWSER_NAME = "BrowserHome";
50 50
51 /** The Browser Refresh key */ 51 /** The Browser Refresh key */
52 static final String BROWSER_REFRESH = "BrowserRefresh"; 52 static const String BROWSER_REFRESH = "BrowserRefresh";
53 53
54 /** The Browser Search key */ 54 /** The Browser Search key */
55 static final String BROWSER_SEARCH = "BrowserSearch"; 55 static const String BROWSER_SEARCH = "BrowserSearch";
56 56
57 /** The Browser Stop key */ 57 /** The Browser Stop key */
58 static final String BROWSER_STOP = "BrowserStop"; 58 static const String BROWSER_STOP = "BrowserStop";
59 59
60 /** The Camera key */ 60 /** The Camera key */
61 static final String CAMERA = "Camera"; 61 static const String CAMERA = "Camera";
62 62
63 /** The Caps Lock (Capital) key */ 63 /** The Caps Lock (Capital) key */
64 static final String CAPS_LOCK = "CapsLock"; 64 static const String CAPS_LOCK = "CapsLock";
65 65
66 /** The Clear key */ 66 /** The Clear key */
67 static final String CLEAR = "Clear"; 67 static const String CLEAR = "Clear";
68 68
69 /** The Code Input key */ 69 /** The Code Input key */
70 static final String CODE_INPUT = "CodeInput"; 70 static const String CODE_INPUT = "CodeInput";
71 71
72 /** The Compose key */ 72 /** The Compose key */
73 static final String COMPOSE = "Compose"; 73 static const String COMPOSE = "Compose";
74 74
75 /** The Control (Ctrl) key */ 75 /** The Control (Ctrl) key */
76 static final String CONTROL = "Control"; 76 static const String CONTROL = "Control";
77 77
78 /** The Crsel key */ 78 /** The Crsel key */
79 static final String CRSEL = "Crsel"; 79 static const String CRSEL = "Crsel";
80 80
81 /** The Convert key */ 81 /** The Convert key */
82 static final String CONVERT = "Convert"; 82 static const String CONVERT = "Convert";
83 83
84 /** The Copy key */ 84 /** The Copy key */
85 static final String COPY = "Copy"; 85 static const String COPY = "Copy";
86 86
87 /** The Cut key */ 87 /** The Cut key */
88 static final String CUT = "Cut"; 88 static const String CUT = "Cut";
89 89
90 /** The Decimal key */ 90 /** The Decimal key */
91 static final String DECIMAL = "Decimal"; 91 static const String DECIMAL = "Decimal";
92 92
93 /** The Divide key */ 93 /** The Divide key */
94 static final String DIVIDE = "Divide"; 94 static const String DIVIDE = "Divide";
95 95
96 /** The Down Arrow key */ 96 /** The Down Arrow key */
97 static final String DOWN = "Down"; 97 static const String DOWN = "Down";
98 98
99 /** The diagonal Down-Left Arrow key */ 99 /** The diagonal Down-Left Arrow key */
100 static final String DOWN_LEFT = "DownLeft"; 100 static const String DOWN_LEFT = "DownLeft";
101 101
102 /** The diagonal Down-Right Arrow key */ 102 /** The diagonal Down-Right Arrow key */
103 static final String DOWN_RIGHT = "DownRight"; 103 static const String DOWN_RIGHT = "DownRight";
104 104
105 /** The Eject key */ 105 /** The Eject key */
106 static final String EJECT = "Eject"; 106 static const String EJECT = "Eject";
107 107
108 /** The End key */ 108 /** The End key */
109 static final String END = "End"; 109 static const String END = "End";
110 110
111 /** 111 /**
112 * The Enter key. Note: This key value must also be used for the Return 112 * The Enter key. Note: This key value must also be used for the Return
113 * (Macintosh numpad) key 113 * (Macintosh numpad) key
114 */ 114 */
115 static final String ENTER = "Enter"; 115 static const String ENTER = "Enter";
116 116
117 /** The Erase EOF key */ 117 /** The Erase EOF key */
118 static final String ERASE_EOF= "EraseEof"; 118 static const String ERASE_EOF= "EraseEof";
119 119
120 /** The Execute key */ 120 /** The Execute key */
121 static final String EXECUTE = "Execute"; 121 static const String EXECUTE = "Execute";
122 122
123 /** The Exsel key */ 123 /** The Exsel key */
124 static final String EXSEL = "Exsel"; 124 static const String EXSEL = "Exsel";
125 125
126 /** The Function switch key */ 126 /** The Function switch key */
127 static final String FN = "Fn"; 127 static const String FN = "Fn";
128 128
129 /** The F1 key */ 129 /** The F1 key */
130 static final String F1 = "F1"; 130 static const String F1 = "F1";
131 131
132 /** The F2 key */ 132 /** The F2 key */
133 static final String F2 = "F2"; 133 static const String F2 = "F2";
134 134
135 /** The F3 key */ 135 /** The F3 key */
136 static final String F3 = "F3"; 136 static const String F3 = "F3";
137 137
138 /** The F4 key */ 138 /** The F4 key */
139 static final String F4 = "F4"; 139 static const String F4 = "F4";
140 140
141 /** The F5 key */ 141 /** The F5 key */
142 static final String F5 = "F5"; 142 static const String F5 = "F5";
143 143
144 /** The F6 key */ 144 /** The F6 key */
145 static final String F6 = "F6"; 145 static const String F6 = "F6";
146 146
147 /** The F7 key */ 147 /** The F7 key */
148 static final String F7 = "F7"; 148 static const String F7 = "F7";
149 149
150 /** The F8 key */ 150 /** The F8 key */
151 static final String F8 = "F8"; 151 static const String F8 = "F8";
152 152
153 /** The F9 key */ 153 /** The F9 key */
154 static final String F9 = "F9"; 154 static const String F9 = "F9";
155 155
156 /** The F10 key */ 156 /** The F10 key */
157 static final String F10 = "F10"; 157 static const String F10 = "F10";
158 158
159 /** The F11 key */ 159 /** The F11 key */
160 static final String F11 = "F11"; 160 static const String F11 = "F11";
161 161
162 /** The F12 key */ 162 /** The F12 key */
163 static final String F12 = "F12"; 163 static const String F12 = "F12";
164 164
165 /** The F13 key */ 165 /** The F13 key */
166 static final String F13 = "F13"; 166 static const String F13 = "F13";
167 167
168 /** The F14 key */ 168 /** The F14 key */
169 static final String F14 = "F14"; 169 static const String F14 = "F14";
170 170
171 /** The F15 key */ 171 /** The F15 key */
172 static final String F15 = "F15"; 172 static const String F15 = "F15";
173 173
174 /** The F16 key */ 174 /** The F16 key */
175 static final String F16 = "F16"; 175 static const String F16 = "F16";
176 176
177 /** The F17 key */ 177 /** The F17 key */
178 static final String F17 = "F17"; 178 static const String F17 = "F17";
179 179
180 /** The F18 key */ 180 /** The F18 key */
181 static final String F18 = "F18"; 181 static const String F18 = "F18";
182 182
183 /** The F19 key */ 183 /** The F19 key */
184 static final String F19 = "F19"; 184 static const String F19 = "F19";
185 185
186 /** The F20 key */ 186 /** The F20 key */
187 static final String F20 = "F20"; 187 static const String F20 = "F20";
188 188
189 /** The F21 key */ 189 /** The F21 key */
190 static final String F21 = "F21"; 190 static const String F21 = "F21";
191 191
192 /** The F22 key */ 192 /** The F22 key */
193 static final String F22 = "F22"; 193 static const String F22 = "F22";
194 194
195 /** The F23 key */ 195 /** The F23 key */
196 static final String F23 = "F23"; 196 static const String F23 = "F23";
197 197
198 /** The F24 key */ 198 /** The F24 key */
199 static final String F24 = "F24"; 199 static const String F24 = "F24";
200 200
201 /** The Final Mode (Final) key used on some asian keyboards */ 201 /** The Final Mode (Final) key used on some asian keyboards */
202 static final String FINAL_MODE = "FinalMode"; 202 static const String FINAL_MODE = "FinalMode";
203 203
204 /** The Find key */ 204 /** The Find key */
205 static final String FIND = "Find"; 205 static const String FIND = "Find";
206 206
207 /** The Full-Width Characters key */ 207 /** The Full-Width Characters key */
208 static final String FULL_WIDTH = "FullWidth"; 208 static const String FULL_WIDTH = "FullWidth";
209 209
210 /** The Half-Width Characters key */ 210 /** The Half-Width Characters key */
211 static final String HALF_WIDTH = "HalfWidth"; 211 static const String HALF_WIDTH = "HalfWidth";
212 212
213 /** The Hangul (Korean characters) Mode key */ 213 /** The Hangul (Korean characters) Mode key */
214 static final String HANGUL_MODE = "HangulMode"; 214 static const String HANGUL_MODE = "HangulMode";
215 215
216 /** The Hanja (Korean characters) Mode key */ 216 /** The Hanja (Korean characters) Mode key */
217 static final String HANJA_MODE = "HanjaMode"; 217 static const String HANJA_MODE = "HanjaMode";
218 218
219 /** The Help key */ 219 /** The Help key */
220 static final String HELP = "Help"; 220 static const String HELP = "Help";
221 221
222 /** The Hiragana (Japanese Kana characters) key */ 222 /** The Hiragana (Japanese Kana characters) key */
223 static final String HIRAGANA = "Hiragana"; 223 static const String HIRAGANA = "Hiragana";
224 224
225 /** The Home key */ 225 /** The Home key */
226 static final String HOME = "Home"; 226 static const String HOME = "Home";
227 227
228 /** The Insert (Ins) key */ 228 /** The Insert (Ins) key */
229 static final String INSERT = "Insert"; 229 static const String INSERT = "Insert";
230 230
231 /** The Japanese-Hiragana key */ 231 /** The Japanese-Hiragana key */
232 static final String JAPANESE_HIRAGANA = "JapaneseHiragana"; 232 static const String JAPANESE_HIRAGANA = "JapaneseHiragana";
233 233
234 /** The Japanese-Katakana key */ 234 /** The Japanese-Katakana key */
235 static final String JAPANESE_KATAKANA = "JapaneseKatakana"; 235 static const String JAPANESE_KATAKANA = "JapaneseKatakana";
236 236
237 /** The Japanese-Romaji key */ 237 /** The Japanese-Romaji key */
238 static final String JAPANESE_ROMAJI = "JapaneseRomaji"; 238 static const String JAPANESE_ROMAJI = "JapaneseRomaji";
239 239
240 /** The Junja Mode key */ 240 /** The Junja Mode key */
241 static final String JUNJA_MODE = "JunjaMode"; 241 static const String JUNJA_MODE = "JunjaMode";
242 242
243 /** The Kana Mode (Kana Lock) key */ 243 /** The Kana Mode (Kana Lock) key */
244 static final String KANA_MODE = "KanaMode"; 244 static const String KANA_MODE = "KanaMode";
245 245
246 /** 246 /**
247 * The Kanji (Japanese name for ideographic characters of Chinese origin) 247 * The Kanji (Japanese name for ideographic characters of Chinese origin)
248 * Mode key 248 * Mode key
249 */ 249 */
250 static final String KANJI_MODE = "KanjiMode"; 250 static const String KANJI_MODE = "KanjiMode";
251 251
252 /** The Katakana (Japanese Kana characters) key */ 252 /** The Katakana (Japanese Kana characters) key */
253 static final String KATAKANA = "Katakana"; 253 static const String KATAKANA = "Katakana";
254 254
255 /** The Start Application One key */ 255 /** The Start Application One key */
256 static final String LAUNCH_APPLICATION_1 = "LaunchApplication1"; 256 static const String LAUNCH_APPLICATION_1 = "LaunchApplication1";
257 257
258 /** The Start Application Two key */ 258 /** The Start Application Two key */
259 static final String LAUNCH_APPLICATION_2 = "LaunchApplication2"; 259 static const String LAUNCH_APPLICATION_2 = "LaunchApplication2";
260 260
261 /** The Start Mail key */ 261 /** The Start Mail key */
262 static final String LAUNCH_MAIL = "LaunchMail"; 262 static const String LAUNCH_MAIL = "LaunchMail";
263 263
264 /** The Left Arrow key */ 264 /** The Left Arrow key */
265 static final String LEFT = "Left"; 265 static const String LEFT = "Left";
266 266
267 /** The Menu key */ 267 /** The Menu key */
268 static final String MENU = "Menu"; 268 static const String MENU = "Menu";
269 269
270 /** 270 /**
271 * The Meta key. Note: This key value shall be also used for the Apple 271 * The Meta key. Note: This key value shall be also used for the Apple
272 * Command key 272 * Command key
273 */ 273 */
274 static final String META = "Meta"; 274 static const String META = "Meta";
275 275
276 /** The Media Next Track key */ 276 /** The Media Next Track key */
277 static final String MEDIA_NEXT_TRACK = "MediaNextTrack"; 277 static const String MEDIA_NEXT_TRACK = "MediaNextTrack";
278 278
279 /** The Media Play Pause key */ 279 /** The Media Play Pause key */
280 static final String MEDIA_PAUSE_PLAY = "MediaPlayPause"; 280 static const String MEDIA_PAUSE_PLAY = "MediaPlayPause";
281 281
282 /** The Media Previous Track key */ 282 /** The Media Previous Track key */
283 static final String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack"; 283 static const String MEDIA_PREVIOUS_TRACK = "MediaPreviousTrack";
284 284
285 /** The Media Stop key */ 285 /** The Media Stop key */
286 static final String MEDIA_STOP = "MediaStop"; 286 static const String MEDIA_STOP = "MediaStop";
287 287
288 /** The Mode Change key */ 288 /** The Mode Change key */
289 static final String MODE_CHANGE = "ModeChange"; 289 static const String MODE_CHANGE = "ModeChange";
290 290
291 /** The Next Candidate function key */ 291 /** The Next Candidate function key */
292 static final String NEXT_CANDIDATE = "NextCandidate"; 292 static const String NEXT_CANDIDATE = "NextCandidate";
293 293
294 /** The Nonconvert (Don't Convert) key */ 294 /** The Nonconvert (Don't Convert) key */
295 static final String NON_CONVERT = "Nonconvert"; 295 static const String NON_CONVERT = "Nonconvert";
296 296
297 /** The Number Lock key */ 297 /** The Number Lock key */
298 static final String NUM_LOCK = "NumLock"; 298 static const String NUM_LOCK = "NumLock";
299 299
300 /** The Page Down (Next) key */ 300 /** The Page Down (Next) key */
301 static final String PAGE_DOWN = "PageDown"; 301 static const String PAGE_DOWN = "PageDown";
302 302
303 /** The Page Up key */ 303 /** The Page Up key */
304 static final String PAGE_UP = "PageUp"; 304 static const String PAGE_UP = "PageUp";
305 305
306 /** The Paste key */ 306 /** The Paste key */
307 static final String PASTE = "Paste"; 307 static const String PASTE = "Paste";
308 308
309 /** The Pause key */ 309 /** The Pause key */
310 static final String PAUSE = "Pause"; 310 static const String PAUSE = "Pause";
311 311
312 /** The Play key */ 312 /** The Play key */
313 static final String PLAY = "Play"; 313 static const String PLAY = "Play";
314 314
315 /** 315 /**
316 * The Power key. Note: Some devices may not expose this key to the 316 * The Power key. Note: Some devices may not expose this key to the
317 * operating environment 317 * operating environment
318 */ 318 */
319 static final String POWER = "Power"; 319 static const String POWER = "Power";
320 320
321 /** The Previous Candidate function key */ 321 /** The Previous Candidate function key */
322 static final String PREVIOUS_CANDIDATE = "PreviousCandidate"; 322 static const String PREVIOUS_CANDIDATE = "PreviousCandidate";
323 323
324 /** The Print Screen (PrintScrn, SnapShot) key */ 324 /** The Print Screen (PrintScrn, SnapShot) key */
325 static final String PRINT_SCREEN = "PrintScreen"; 325 static const String PRINT_SCREEN = "PrintScreen";
326 326
327 /** The Process key */ 327 /** The Process key */
328 static final String PROCESS = "Process"; 328 static const String PROCESS = "Process";
329 329
330 /** The Props key */ 330 /** The Props key */
331 static final String PROPS = "Props"; 331 static const String PROPS = "Props";
332 332
333 /** The Right Arrow key */ 333 /** The Right Arrow key */
334 static final String RIGHT = "Right"; 334 static const String RIGHT = "Right";
335 335
336 /** The Roman Characters function key */ 336 /** The Roman Characters function key */
337 static final String ROMAN_CHARACTERS = "RomanCharacters"; 337 static const String ROMAN_CHARACTERS = "RomanCharacters";
338 338
339 /** The Scroll Lock key */ 339 /** The Scroll Lock key */
340 static final String SCROLL = "Scroll"; 340 static const String SCROLL = "Scroll";
341 341
342 /** The Select key */ 342 /** The Select key */
343 static final String SELECT = "Select"; 343 static const String SELECT = "Select";
344 344
345 /** The Select Media key */ 345 /** The Select Media key */
346 static final String SELECT_MEDIA = "SelectMedia"; 346 static const String SELECT_MEDIA = "SelectMedia";
347 347
348 /** The Separator key */ 348 /** The Separator key */
349 static final String SEPARATOR = "Separator"; 349 static const String SEPARATOR = "Separator";
350 350
351 /** The Shift key */ 351 /** The Shift key */
352 static final String SHIFT = "Shift"; 352 static const String SHIFT = "Shift";
353 353
354 /** The Soft1 key */ 354 /** The Soft1 key */
355 static final String SOFT_1 = "Soft1"; 355 static const String SOFT_1 = "Soft1";
356 356
357 /** The Soft2 key */ 357 /** The Soft2 key */
358 static final String SOFT_2 = "Soft2"; 358 static const String SOFT_2 = "Soft2";
359 359
360 /** The Soft3 key */ 360 /** The Soft3 key */
361 static final String SOFT_3 = "Soft3"; 361 static const String SOFT_3 = "Soft3";
362 362
363 /** The Soft4 key */ 363 /** The Soft4 key */
364 static final String SOFT_4 = "Soft4"; 364 static const String SOFT_4 = "Soft4";
365 365
366 /** The Stop key */ 366 /** The Stop key */
367 static final String STOP = "Stop"; 367 static const String STOP = "Stop";
368 368
369 /** The Subtract key */ 369 /** The Subtract key */
370 static final String SUBTRACT = "Subtract"; 370 static const String SUBTRACT = "Subtract";
371 371
372 /** The Symbol Lock key */ 372 /** The Symbol Lock key */
373 static final String SYMBOL_LOCK = "SymbolLock"; 373 static const String SYMBOL_LOCK = "SymbolLock";
374 374
375 /** The Up Arrow key */ 375 /** The Up Arrow key */
376 static final String UP = "Up"; 376 static const String UP = "Up";
377 377
378 /** The diagonal Up-Left Arrow key */ 378 /** The diagonal Up-Left Arrow key */
379 static final String UP_LEFT = "UpLeft"; 379 static const String UP_LEFT = "UpLeft";
380 380
381 /** The diagonal Up-Right Arrow key */ 381 /** The diagonal Up-Right Arrow key */
382 static final String UP_RIGHT = "UpRight"; 382 static const String UP_RIGHT = "UpRight";
383 383
384 /** The Undo key */ 384 /** The Undo key */
385 static final String UNDO = "Undo"; 385 static const String UNDO = "Undo";
386 386
387 /** The Volume Down key */ 387 /** The Volume Down key */
388 static final String VOLUME_DOWN = "VolumeDown"; 388 static const String VOLUME_DOWN = "VolumeDown";
389 389
390 /** The Volume Mute key */ 390 /** The Volume Mute key */
391 static final String VOLUMN_MUTE = "VolumeMute"; 391 static const String VOLUMN_MUTE = "VolumeMute";
392 392
393 /** The Volume Up key */ 393 /** The Volume Up key */
394 static final String VOLUMN_UP = "VolumeUp"; 394 static const String VOLUMN_UP = "VolumeUp";
395 395
396 /** The Windows Logo key */ 396 /** The Windows Logo key */
397 static final String WIN = "Win"; 397 static const String WIN = "Win";
398 398
399 /** The Zoom key */ 399 /** The Zoom key */
400 static final String ZOOM = "Zoom"; 400 static const String ZOOM = "Zoom";
401 401
402 /** 402 /**
403 * The Backspace (Back) key. Note: This key value shall be also used for the 403 * The Backspace (Back) key. Note: This key value shall be also used for the
404 * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key 404 * key labeled 'delete' MacOS keyboards when not modified by the 'Fn' key
405 */ 405 */
406 static final String BACKSPACE = "Backspace"; 406 static const String BACKSPACE = "Backspace";
407 407
408 /** The Horizontal Tabulation (Tab) key */ 408 /** The Horizontal Tabulation (Tab) key */
409 static final String TAB = "Tab"; 409 static const String TAB = "Tab";
410 410
411 /** The Cancel key */ 411 /** The Cancel key */
412 static final String CANCEL = "Cancel"; 412 static const String CANCEL = "Cancel";
413 413
414 /** The Escape (Esc) key */ 414 /** The Escape (Esc) key */
415 static final String ESC = "Esc"; 415 static const String ESC = "Esc";
416 416
417 /** The Space (Spacebar) key: */ 417 /** The Space (Spacebar) key: */
418 static final String SPACEBAR = "Spacebar"; 418 static const String SPACEBAR = "Spacebar";
419 419
420 /** 420 /**
421 * The Delete (Del) Key. Note: This key value shall be also used for the key 421 * The Delete (Del) Key. Note: This key value shall be also used for the key
422 * labeled 'delete' MacOS keyboards when modified by the 'Fn' key 422 * labeled 'delete' MacOS keyboards when modified by the 'Fn' key
423 */ 423 */
424 static final String DEL = "Del"; 424 static const String DEL = "Del";
425 425
426 /** The Combining Grave Accent (Greek Varia, Dead Grave) key */ 426 /** The Combining Grave Accent (Greek Varia, Dead Grave) key */
427 static final String DEAD_GRAVE = "DeadGrave"; 427 static const String DEAD_GRAVE = "DeadGrave";
428 428
429 /** 429 /**
430 * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute) 430 * The Combining Acute Accent (Stress Mark, Greek Oxia, Tonos, Dead Eacute)
431 * key 431 * key
432 */ 432 */
433 static final String DEAD_EACUTE = "DeadEacute"; 433 static const String DEAD_EACUTE = "DeadEacute";
434 434
435 /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */ 435 /** The Combining Circumflex Accent (Hat, Dead Circumflex) key */
436 static final String DEAD_CIRCUMFLEX = "DeadCircumflex"; 436 static const String DEAD_CIRCUMFLEX = "DeadCircumflex";
437 437
438 /** The Combining Tilde (Dead Tilde) key */ 438 /** The Combining Tilde (Dead Tilde) key */
439 static final String DEAD_TILDE = "DeadTilde"; 439 static const String DEAD_TILDE = "DeadTilde";
440 440
441 /** The Combining Macron (Long, Dead Macron) key */ 441 /** The Combining Macron (Long, Dead Macron) key */
442 static final String DEAD_MACRON = "DeadMacron"; 442 static const String DEAD_MACRON = "DeadMacron";
443 443
444 /** The Combining Breve (Short, Dead Breve) key */ 444 /** The Combining Breve (Short, Dead Breve) key */
445 static final String DEAD_BREVE = "DeadBreve"; 445 static const String DEAD_BREVE = "DeadBreve";
446 446
447 /** The Combining Dot Above (Derivative, Dead Above Dot) key */ 447 /** The Combining Dot Above (Derivative, Dead Above Dot) key */
448 static final String DEAD_ABOVE_DOT = "DeadAboveDot"; 448 static const String DEAD_ABOVE_DOT = "DeadAboveDot";
449 449
450 /** 450 /**
451 * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika, 451 * The Combining Diaeresis (Double Dot Abode, Umlaut, Greek Dialytika,
452 * Double Derivative, Dead Diaeresis) key 452 * Double Derivative, Dead Diaeresis) key
453 */ 453 */
454 static final String DEAD_UMLAUT = "DeadUmlaut"; 454 static const String DEAD_UMLAUT = "DeadUmlaut";
455 455
456 /** The Combining Ring Above (Dead Above Ring) key */ 456 /** The Combining Ring Above (Dead Above Ring) key */
457 static final String DEAD_ABOVE_RING = "DeadAboveRing"; 457 static const String DEAD_ABOVE_RING = "DeadAboveRing";
458 458
459 /** The Combining Double Acute Accent (Dead Doubleacute) key */ 459 /** The Combining Double Acute Accent (Dead Doubleacute) key */
460 static final String DEAD_DOUBLEACUTE = "DeadDoubleacute"; 460 static const String DEAD_DOUBLEACUTE = "DeadDoubleacute";
461 461
462 /** The Combining Caron (Hacek, V Above, Dead Caron) key */ 462 /** The Combining Caron (Hacek, V Above, Dead Caron) key */
463 static final String DEAD_CARON = "DeadCaron"; 463 static const String DEAD_CARON = "DeadCaron";
464 464
465 /** The Combining Cedilla (Dead Cedilla) key */ 465 /** The Combining Cedilla (Dead Cedilla) key */
466 static final String DEAD_CEDILLA = "DeadCedilla"; 466 static const String DEAD_CEDILLA = "DeadCedilla";
467 467
468 /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */ 468 /** The Combining Ogonek (Nasal Hook, Dead Ogonek) key */
469 static final String DEAD_OGONEK = "DeadOgonek"; 469 static const String DEAD_OGONEK = "DeadOgonek";
470 470
471 /** 471 /**
472 * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota 472 * The Combining Greek Ypogegrammeni (Greek Non-Spacing Iota Below, Iota
473 * Subscript, Dead Iota) key 473 * Subscript, Dead Iota) key
474 */ 474 */
475 static final String DEAD_IOTA = "DeadIota"; 475 static const String DEAD_IOTA = "DeadIota";
476 476
477 /** 477 /**
478 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key 478 * The Combining Katakana-Hiragana Voiced Sound Mark (Dead Voiced Sound) key
479 */ 479 */
480 static final String DEAD_VOICED_SOUND = "DeadVoicedSound"; 480 static const String DEAD_VOICED_SOUND = "DeadVoicedSound";
481 481
482 /** 482 /**
483 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced 483 * The Combining Katakana-Hiragana Semi-Voiced Sound Mark (Dead Semivoiced
484 * Sound) key 484 * Sound) key
485 */ 485 */
486 static final String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound"; 486 static const String DEC_SEMIVOICED_SOUND= "DeadSemivoicedSound";
487 487
488 /** 488 /**
489 * Key value used when an implementation is unable to identify another key 489 * Key value used when an implementation is unable to identify another key
490 * value, due to either hardware, platform, or software constraints 490 * value, due to either hardware, platform, or software constraints
491 */ 491 */
492 static final String UNIDENTIFIED = "Unidentified"; 492 static const String UNIDENTIFIED = "Unidentified";
493 } 493 }
OLDNEW
« no previous file with comments | « lib/dom/src/KeyLocation.dart ('k') | lib/dom/src/ReadyState.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698