diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-09 23:38:39 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-09 23:38:39 +0000 |
commit | 3b2792bf4a12e151ed83d272b3eb4729496ee130 (patch) | |
tree | 2b16032a261cb06d35bbbe30f76220b67fdcffd6 /webkit/glue/webview_impl.cc | |
parent | ff34e3e9184dc76abfeec7fc7783336950cfdb8b (diff) | |
download | chromium_src-3b2792bf4a12e151ed83d272b3eb4729496ee130.zip chromium_src-3b2792bf4a12e151ed83d272b3eb4729496ee130.tar.gz chromium_src-3b2792bf4a12e151ed83d272b3eb4729496ee130.tar.bz2 |
Correctly construct platform keyboard event in event sending controller.
Same as issue 12981 with but now with change to test_shell.vsprops. This change makes it actually compile on windows! It also makes it clear that test shell is looking in webkit directories for include files. Apparently this was already the case on linux and mac, but it is new for windows.
Review URL: http://codereview.chromium.org/13678
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6657 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r-- | webkit/glue/webview_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index 67285ff..c07825c 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -513,12 +513,12 @@ bool WebViewImpl::CharEvent(const WebKeyboardEvent& event) { if (!evt.IsCharacterKey()) return true; -#if defined(OS_WIN) - // Safari 3.1 does not pass off WM_SYSCHAR messages to the - // eventHandler::keyEvent. We mimic this behavior. + // Safari 3.1 does not pass off windows system key messages (WM_SYSCHAR) to + // the eventHandler::keyEvent. We mimic this behavior on all platforms since + // for now we are converting other platform's key events to windows key + // events. if (evt.isSystemKey()) return handler->handleAccessKey(evt); -#endif if (!handler->keyEvent(evt)) return KeyEventDefault(event); |