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

Unified Diff: views/events/event_gtk.cc

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_x.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/events/event_gtk.cc
diff --git a/views/events/event_gtk.cc b/views/events/event_gtk.cc
index a3496c1f963cb286055e1ca9161ec362bcf7abd9..8dfa62d23dd938a84ead199ac583ce02602dcd5e 100644
--- a/views/events/event_gtk.cc
+++ b/views/events/event_gtk.cc
@@ -168,8 +168,8 @@ MouseEvent::MouseEvent(NativeEvent2 native_event_2,
KeyEvent::KeyEvent(NativeEvent native_event)
: Event(native_event, EventTypeFromNative(native_event),
GetFlagsFromGdkState(GetGdkStateFromNative(native_event))),
- key_code_(ui::WindowsKeyCodeForGdkKeyCode(
- GetGdkEventKeyFromNative(native_event)->keyval)) {
+ key_code_(ui::KeyboardCodeFromGdkEventKey(
+ GetGdkEventKeyFromNative(native_event))) {
}
#if !defined(TOUCH_UI)
« no previous file with comments | « ui/base/keycodes/keyboard_code_conversion_x.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698