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

Unified Diff: ui/base/keycodes/keyboard_code_conversion_x.h

Issue 6674052: [cros] Fix accelerator keys when using non-US/Latin keyboard layouts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/keycodes/keyboard_code_conversion_gtk.cc ('k') | ui/base/keycodes/keyboard_code_conversion_x.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/keycodes/keyboard_code_conversion_x.h
diff --git a/ui/base/keycodes/keyboard_code_conversion_x.h b/ui/base/keycodes/keyboard_code_conversion_x.h
index 3f780a2ec9f11bd3f2d75f8a98e3f5875b814123..5611c537a146e36aae830f2dbab832392e7ee3f3 100644
--- a/ui/base/keycodes/keyboard_code_conversion_x.h
+++ b/ui/base/keycodes/keyboard_code_conversion_x.h
@@ -13,6 +13,11 @@ namespace ui {
KeyboardCode KeyboardCodeFromXKeyEvent(XEvent* xev);
+KeyboardCode KeyboardCodeFromXKeysym(unsigned int keysym);
+
+// Converts a hardware keycode into a key symbol on a standard US PC keyboard.
+unsigned int DefaultXKeysymFromHardwareKeycode(unsigned int keycode);
+
} // namespace ui
#endif // UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_X_H_
« no previous file with comments | « ui/base/keycodes/keyboard_code_conversion_gtk.cc ('k') | ui/base/keycodes/keyboard_code_conversion_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698