diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-09 19:34:58 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-09 19:34:58 +0000 |
commit | f38f8a69dec4bbd77624f6a8332da7e996f91a41 (patch) | |
tree | 9d2b693682b9fa289beba79922261ab7b3ff8bae /webkit/glue/webview_impl.cc | |
parent | 48d33655b38f1d170f93557996a53b64d64f3a4e (diff) | |
download | chromium_src-f38f8a69dec4bbd77624f6a8332da7e996f91a41.zip chromium_src-f38f8a69dec4bbd77624f6a8332da7e996f91a41.tar.gz chromium_src-f38f8a69dec4bbd77624f6a8332da7e996f91a41.tar.bz2 |
revert commit 6607.
tbr=ojan
Review URL: http://codereview.chromium.org/13675
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6609 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 c07825c..67285ff 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; - // 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 defined(OS_WIN) + // Safari 3.1 does not pass off WM_SYSCHAR messages to the + // eventHandler::keyEvent. We mimic this behavior. if (evt.isSystemKey()) return handler->handleAccessKey(evt); +#endif if (!handler->keyEvent(evt)) return KeyEventDefault(event); |