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

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

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

Powered by Google App Engine
This is Rietveld 408576698