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

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

Issue 24488002: Merge 224232 "Do not rewrite AltGr Key as Alt+Ctrl" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: Created 7 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 | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/ui_events_helper.cc
===================================================================
--- content/browser/renderer_host/ui_events_helper.cc (revision 225113)
+++ content/browser/renderer_host/ui_events_helper.cc (working copy)
@@ -238,11 +238,6 @@
int EventFlagsToWebEventModifiers(int flags) {
int modifiers = 0;
- // Translate AltGr modifier to Ctrl+Alt first.
- if (flags & ui::EF_ALTGR_DOWN) {
- modifiers |= WebKit::WebInputEvent::ControlKey |
- WebKit::WebInputEvent::AltKey;
- }
if (flags & ui::EF_SHIFT_DOWN)
modifiers |= WebKit::WebInputEvent::ShiftKey;
if (flags & ui::EF_CONTROL_DOWN)
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698