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

Unified Diff: ui/events/keycodes/dom_us_layout_data.h

Issue 1085733007: Revert of Take GetCharacterFromKeyCode() out behind the barn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/accelerators/accelerator.cc ('k') | ui/events/keycodes/keyboard_code_conversion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/keycodes/dom_us_layout_data.h
diff --git a/ui/events/keycodes/dom_us_layout_data.h b/ui/events/keycodes/dom_us_layout_data.h
index b6a979d638e123bf7e4cf0e7b927a149ae9243db..c85aef2b85d31960edae46596ad2ca5530ebc8fb 100644
--- a/ui/events/keycodes/dom_us_layout_data.h
+++ b/ui/events/keycodes/dom_us_layout_data.h
@@ -60,7 +60,7 @@
{DomCode::COMMA, {',', '<'}},
{DomCode::PERIOD, {'.', '>'}},
{DomCode::SLASH, {'/', '?'}},
- {DomCode::INTL_BACKSLASH, {'<', '>'}},
+ {DomCode::INTL_BACKSLASH, {'\\', '|'}},
{DomCode::INTL_YEN, {0x00A5, '|'}},
{DomCode::NUMPAD_DIVIDE, {'/', '/'}},
{DomCode::NUMPAD_MULTIPLY, {'*', '*'}},
@@ -580,6 +580,7 @@
const DomCodeToKeyboardCodeEntry kFallbackKeyboardCodeToDomCodeMap[] = {
{DomCode::ALT_LEFT, VKEY_MENU},
{DomCode::ALT_RIGHT, VKEY_ALTGR},
+ {DomCode::BACKQUOTE, VKEY_DBE_SBCSCHAR},
#if defined(OS_POSIX)
{DomCode::CONTEXT_MENU, VKEY_COMPOSE},
#endif
@@ -605,7 +606,6 @@
// VKEYs with no corresponding DomCode and no obvious USB usage code:
// VKEY_ACCEPT
// VKEY_BACKTAB
- // VKEY_DBE_SBCSCHAR
// VKEY_EREOF
// VKEY_FINAL
// VKEY_JUNJA
« no previous file with comments | « ui/base/accelerators/accelerator.cc ('k') | ui/events/keycodes/keyboard_code_conversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698