<div class="gmail_quote">On Thu, Nov 3, 2011 at 1:39 PM, Darin Adler <span dir="ltr"><<a href="mailto:darin@apple.com">darin@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Nov 3, 2011, at 10:24 AM, Marshall Greenblatt wrote:<br>
<br>
> It appears that EditorClient::handleKeyboardEvent() is only called for keydown and keypress events (the exclusion starts in HTMLInputElement::defaultEventHandler). Is there a specific reason why we don't want to call handleKeyboardEvent() for keyup events? Is there some other way to get keyup notification in EditorClient?<br>
<br>
</div>Because key up events have no effect in editing on any platforms that we’re aware of. It sounds like maybe you are doing something other than editing and just using EditorClient because it’s handy, perhaps?<br></blockquote>
<div><br>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?<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Please also note that interfaces like EditorClient are internal to WebKit and just used to communicate between subcomponents of WebKit.<br></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888"><br>
-- Darin</font></blockquote></div><br>Thanks,<br>Marshall<br>