[Webkit-unassigned] [Bug 40608] [chromium]Refactor input method related APIs.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 16:48:07 PDT 2010


--- Comment #11 from Tony Chang (Google) <tony at chromium.org>  2010-06-15 16:48:04 PST ---
(In reply to comment #10)
> Returning boolean should be enough. This method should only return false when the input method has some composition text but the webkit can't accept it by any reason, then the only thing can be done is to cancel the input method's composition text.

Oh, I remembered why I wanted to return an enum.  Ojan suggested that we try to cancel each letter, rather than the whole composition if the site calls preventDefault().  I'm not sure this is going to work on all platforms, so maybe there should be different return types for canceling the whole composition vs canceling a single character (in which case on OSX, we'll need to reset the composition state in the browser)?

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list