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

Unified Diff: content/browser/renderer_host/native_web_keyboard_event_aura.cc

Issue 1355753003: Allow keys with AltGr modifier to be inserted in Textfield (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added test Created 5 years, 3 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 | « no previous file | ui/events/base_event_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/native_web_keyboard_event_aura.cc
diff --git a/content/browser/renderer_host/native_web_keyboard_event_aura.cc b/content/browser/renderer_host/native_web_keyboard_event_aura.cc
index d8536ad900d645273d5d9831cfbd0f2f32739a6f..5f3d8bd96ebf1b123d8efb795cfc3d2b35772439 100644
--- a/content/browser/renderer_host/native_web_keyboard_event_aura.cc
+++ b/content/browser/renderer_host/native_web_keyboard_event_aura.cc
@@ -85,8 +85,7 @@ NativeWebKeyboardEvent::NativeWebKeyboardEvent(
nativeKeyCode = character;
text[0] = character;
unmodifiedText[0] = character;
- isSystemKey =
- ui::IsSystemKeyModifier(state) && (state & ui::EF_ALTGR_DOWN) == 0;
+ isSystemKey = ui::IsSystemKeyModifier(state);
setKeyIdentifierFromWindowsKeyCode();
}
« no previous file with comments | « no previous file | ui/events/base_event_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698