DescriptionMerge 130691 - Mac Chromium: Ignore system numpad modifier
https://bugs.webkit.org/show_bug.cgi?id=97161
Patch by Sailesh Agrawal <sail@chromium.org> on 2012-10-08
Reviewed by Tony Chang.
On Mac, arrow key events have numpad modifier set. This is inconsistent with other platforms.
My fix is to only rely on keycode to decide when to set the numpad modifier.
This code is not exersided by layout tests so I added a new unit test for this.
* WebKit.gypi:
* WebKitUnitTests.gyp:
* src/mac/WebInputEventFactory.mm:
(WebKit::isKeypadEvent): Removed check for numpad modifier.
* tests/WebInputEventFactoryTestMac.mm: Added.
(TEST): Added new test for WebInputEventFactory::keyboardEvent().
TBR=commit-queue@webkit.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=130946
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|