Patch for https://bugs.webkit.org/show_bug.cgi?id=43013
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jul 2010 23:06:34 +0000 (23:06 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Jul 2010 23:06:34 +0000 (23:06 +0000)
commita875ffd67af2037d365a39c8d86d5503a34e39c2
tree1ac1a3ea70427d988076534c925d09d28db23164
parent86cd7a769d9ab6d9739028b56b45a286b966b5da
Patch for https://bugs.webkit.org/show_bug.cgi?id=43013
Part of <rdar://problem/8152434>
Add support for scrolling using the keyboard in WebKit2

Reviewed by Anders Carlsson.

WebCore:

Add a new export and make WindowsKeyboardCodes private.

* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:

WebKit2:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::getScrollMapping):
(WebKit::WebPage::keyEvent):
Scroll the page in response to keyDown.
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/mac/WebPageMac.mm:
Use WindowsKeyboardCodes.h instead of redefining the constants.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.exp.in
WebCore/WebCore.xcodeproj/project.pbxproj
WebKit2/ChangeLog
WebKit2/WebProcess/WebPage/WebPage.cpp
WebKit2/WebProcess/WebPage/mac/WebPageMac.mm