Index: content/browser/renderer_host/input/web_input_event_util.cc |
diff --git a/content/browser/renderer_host/input/web_input_event_util.cc b/content/browser/renderer_host/input/web_input_event_util.cc |
index bdbec745a52b4083f816a9d3b7aa86cc2c4e844e..485185dc9c8ab71c1bef9f516b2b70dbaee052a2 100644 |
--- a/content/browser/renderer_host/input/web_input_event_util.cc |
+++ b/content/browser/renderer_host/input/web_input_event_util.cc |
@@ -400,6 +400,8 @@ int EventFlagsToWebEventModifiers(int flags) { |
modifiers |= blink::WebInputEvent::CapsLockOn; |
if (flags & ui::EF_IS_REPEAT) |
modifiers |= blink::WebInputEvent::IsAutoRepeat; |
+ if (flags & ui::EF_NUMPAD_KEY) |
+ modifiers |= blink::WebInputEvent::IsKeyPad; |
jdduke (slow)
2014/09/24 21:03:44
Don't you want a corresponding inverse conversion
Seigo Nonaka
2014/09/25 03:57:47
Yes! Added inverse conversion. Thanks.
On 2014/09
|
return modifiers; |
} |