[webkit-dev] handleKeyboardEvent() not called for keyupEvent

Darin Adler darin at apple.com
Thu Nov 3 10:54:40 PDT 2011

On Nov 3, 2011, at 10:51 AM, Marshall Greenblatt wrote:

> EditorClient::handleKeyboardEvent() eventually calls WebViewClient::handleCurrentKeyboardEvent() in the Chromium WebKit API. I have an application that would like to intercept certain key up events and perform application-specific actions if the events have not already been consumed by JavaScript (which seems to be the situation in which EditorClient::handleKeyboardEvent() is called). Is there some way currently to do this?

If Chromium wants to offer a general purpose “handle keyboard event” as part of WebKit API, I recommend setting it up more directly rather than using EditorClient.

-- Darin

More information about the webkit-dev mailing list