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

Marshall Greenblatt magreenblatt at gmail.com
Thu Nov 3 10:59:50 PDT 2011

On Thu, Nov 3, 2011 at 1:54 PM, Darin Adler <darin at apple.com> wrote:

> 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.

Would this involve adding a new callback in WebKit, or is there an existing
callback that means "JavaScript did not handle this keyup/char/keydown
keyboard event"?

> -- Darin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111103/7412416a/attachment.html>

More information about the webkit-dev mailing list