[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
weinig at apple.com
weinig at apple.com
Wed Dec 22 18:19:45 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit fe2d593e461a1c52c0de0bb30b2e3443ad52a58f
Author: weinig at apple.com <weinig at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Dec 9 22:31:40 2010 +0000
WebKit2: Add support for access keys
https://bugs.webkit.org/show_bug.cgi?id=49832
Reviewed by Alexey Proskuryakov.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::handleKeyEvent): Match windows WebKit and call
the event handler's for handleAccessKey function for
system keys. This will never be hit on the Mac.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index bdd4703..3e95fc1 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,15 @@
+2010-12-09 Sam Weinig <weinig at apple.com>
+
+ Reviewed by Alexey Proskuryakov.
+
+ WebKit2: Add support for access keys
+ https://bugs.webkit.org/show_bug.cgi?id=49832
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::handleKeyEvent): Match windows WebKit and call
+ the event handler's for handleAccessKey function for
+ system keys. This will never be hit on the Mac.
+
2010-12-09 Darin Adler <darin at apple.com>
Qt build fix.
diff --git a/WebKit2/WebProcess/WebPage/WebPage.cpp b/WebKit2/WebProcess/WebPage/WebPage.cpp
index 01f4033..d2209fc 100644
--- a/WebKit2/WebProcess/WebPage/WebPage.cpp
+++ b/WebKit2/WebProcess/WebPage/WebPage.cpp
@@ -697,6 +697,8 @@ static bool handleKeyEvent(const WebKeyboardEvent& keyboardEvent, Page* page)
if (!page->mainFrame()->view())
return false;
+ if (keyboardEvent.type() == WebEvent::Char && keyboardEvent.isSystemKey())
+ return page->focusController()->focusedOrMainFrame()->eventHandler()->handleAccessKey(platform(keyboardEvent));
return page->focusController()->focusedOrMainFrame()->eventHandler()->keyEvent(platform(keyboardEvent));
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list