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

Side by Side Diff: ui/events/keycodes/dom/dom_key_data.inc

Issue 2644763002: Rename Launch MyComputer/Calculator to Application1/2 (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has no header guard because it is explicily intended 5 // This file has no header guard because it is explicily intended
6 // to be included more than once with different definitions of the 6 // to be included more than once with different definitions of the
7 // macros DOM_KEY_MAP and DOM_KEY_MAP_DECLARATION. 7 // macros DOM_KEY_MAP and DOM_KEY_MAP_DECLARATION.
8 8
9 // This is a table of DOM Level 3 .key values, used to generate identifiers 9 // This is a table of DOM Level 3 .key values, used to generate identifiers
10 // (enums) and string tables. These names are defined by: 10 // (enums) and string tables. These names are defined by:
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // Key Enum Value 342 // Key Enum Value
343 DOM_KEY_MAP("SpeechCorrectionList", SPEECH_CORRECTION_LIST, 0x0F01), 343 DOM_KEY_MAP("SpeechCorrectionList", SPEECH_CORRECTION_LIST, 0x0F01),
344 DOM_KEY_MAP("SpeechInputToggle", SPEECH_INPUT_TOGGLE, 0x0F02), 344 DOM_KEY_MAP("SpeechInputToggle", SPEECH_INPUT_TOGGLE, 0x0F02),
345 345
346 // ====================================================== 346 // ======================================================
347 // Application Keys 347 // Application Keys
348 // http://www.w3.org/TR/uievents-key/#keys-apps 348 // http://www.w3.org/TR/uievents-key/#keys-apps
349 // ====================================================== 349 // ======================================================
350 350
351 // Key Enum Value 351 // Key Enum Value
352 // "LaunchCalculator" is equivalent to "Launch Application 2": 352 DOM_KEY_MAP("LaunchApplication1", LAUNCH_MY_COMPUTER, 0x0B06),
chongz 2017/01/19 16:33:09 Just a note: It seems to me that this table is mos
chongz 2017/01/19 16:47:10 Never mind it seems that we should order by |Key|
353 DOM_KEY_MAP("LaunchCalculator", LAUNCH_CALCULATOR, 0x0B01), 353 DOM_KEY_MAP("LaunchApplication2", LAUNCH_CALCULATOR, 0x0B01),
354 DOM_KEY_MAP("LaunchCalendar", LAUNCH_CALENDAR, 0x0B02), 354 DOM_KEY_MAP("LaunchCalendar", LAUNCH_CALENDAR, 0x0B02),
355 DOM_KEY_MAP("LaunchContacts", LAUNCH_CONTACTS, 0x0B0C), 355 DOM_KEY_MAP("LaunchContacts", LAUNCH_CONTACTS, 0x0B0C),
356 DOM_KEY_MAP("LaunchMail", LAUNCH_MAIL, 0x0B03), 356 DOM_KEY_MAP("LaunchMail", LAUNCH_MAIL, 0x0B03),
357 DOM_KEY_MAP("LaunchMediaPlayer", LAUNCH_MEDIA_PLAYER, 0x0B04), 357 DOM_KEY_MAP("LaunchMediaPlayer", LAUNCH_MEDIA_PLAYER, 0x0B04),
358 DOM_KEY_MAP("LaunchMusicPlayer", LAUNCH_MUSIC_PLAYER, 0x0B05), 358 DOM_KEY_MAP("LaunchMusicPlayer", LAUNCH_MUSIC_PLAYER, 0x0B05),
359 // "LaunchMyComputer" is equivalent to "Launch Application 1":
360 DOM_KEY_MAP("LaunchMyComputer", LAUNCH_MY_COMPUTER, 0x0B06),
361 DOM_KEY_MAP("LaunchPhone", LAUNCH_PHONE, 0x0B0D), 359 DOM_KEY_MAP("LaunchPhone", LAUNCH_PHONE, 0x0B0D),
362 DOM_KEY_MAP("LaunchScreenSaver", LAUNCH_SCREEN_SAVER, 0x0B07), 360 DOM_KEY_MAP("LaunchScreenSaver", LAUNCH_SCREEN_SAVER, 0x0B07),
363 DOM_KEY_MAP("LaunchSpreadsheet", LAUNCH_SPREADSHEET, 0x0B08), 361 DOM_KEY_MAP("LaunchSpreadsheet", LAUNCH_SPREADSHEET, 0x0B08),
364 DOM_KEY_MAP("LaunchWebBrowser", LAUNCH_WEB_BROWSER, 0x0B09), 362 DOM_KEY_MAP("LaunchWebBrowser", LAUNCH_WEB_BROWSER, 0x0B09),
365 DOM_KEY_MAP("LaunchWebCam", LAUNCH_WEB_CAM, 0x0B0A), 363 DOM_KEY_MAP("LaunchWebCam", LAUNCH_WEB_CAM, 0x0B0A),
366 DOM_KEY_MAP("LaunchWordProcessor", LAUNCH_WORD_PROCESSOR, 0x0B0B), 364 DOM_KEY_MAP("LaunchWordProcessor", LAUNCH_WORD_PROCESSOR, 0x0B0B),
367 365
368 // ========================================================= 366 // =========================================================
369 // Browser Keys 367 // Browser Keys
370 // http://www.w3.org/TR/uievents-key/#keys-browser 368 // http://www.w3.org/TR/uievents-key/#keys-browser
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 DOM_KEY_MAP("Settings", SETTINGS, 0x0D43), 524 DOM_KEY_MAP("Settings", SETTINGS, 0x0D43),
527 DOM_KEY_MAP("SplitScreenToggle", SPLIT_SCREEN_TOGGLE, 0x0D44), 525 DOM_KEY_MAP("SplitScreenToggle", SPLIT_SCREEN_TOGGLE, 0x0D44),
528 DOM_KEY_MAP("STBInput", STB_INPUT, 0x0D45), 526 DOM_KEY_MAP("STBInput", STB_INPUT, 0x0D45),
529 DOM_KEY_MAP("STBPower", STB_POWER, 0x0D46), 527 DOM_KEY_MAP("STBPower", STB_POWER, 0x0D46),
530 DOM_KEY_MAP("Subtitle", SUBTITLE, 0x0D47), 528 DOM_KEY_MAP("Subtitle", SUBTITLE, 0x0D47),
531 DOM_KEY_MAP("Teletext", TELETEXT, 0x0D48), 529 DOM_KEY_MAP("Teletext", TELETEXT, 0x0D48),
532 DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT, 0x0D4C), 530 DOM_KEY_MAP("VideoModeNext", VIDEO_MODE_NEXT, 0x0D4C),
533 DOM_KEY_MAP("Wink", WINK, 0x0D4D), 531 DOM_KEY_MAP("Wink", WINK, 0x0D4D),
534 DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE, 0x0D4E), 532 DOM_KEY_MAP("ZoomToggle", ZOOM_TOGGLE, 0x0D4E),
535 }; 533 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698