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

Side by Side Diff: sdk/lib/html/src/KeyName.dart

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

Powered by Google App Engine
This is Rietveld 408576698