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

Unified Diff: ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc

Issue 786813004: Generate correct KeyboardCode (VKEY). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x430194-xkb
Patch Set: rebase after crrev.com/308447 Created 6 years 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/events/ozone/layout/layout_util.cc ('k') | ui/events/ozone/layout/xkb/xkb_key_code_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc
diff --git a/ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc b/ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc
index 1922c1ed47f14ce11acc7207931bec9d576d438e..f89a2d9b15b835a224f2f31732fc8276b0f223b6 100644
--- a/ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc
+++ b/ui/events/ozone/layout/stub/stub_keyboard_layout_engine.cc
@@ -277,7 +277,7 @@ bool StubKeyboardLayoutEngine::Lookup(DomCode dom_code,
if ((ch >= 'a') && (ch <= 'z'))
*out_character = e->character[state ^ 1];
}
- *out_key_code = DomCodeToKeyboardCode(dom_code);
+ *out_key_code = DomCodeToNonLocatedKeyboardCode(dom_code);
return true;
}
}
« no previous file with comments | « ui/events/ozone/layout/layout_util.cc ('k') | ui/events/ozone/layout/xkb/xkb_key_code_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698