[Webkit-unassigned] [Bug 23164] New: need an interface to make a custom call when a textfield's content changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 7 09:29:23 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23164

           Summary: need an interface to make a custom call when a
                    textfield's content changes
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://tools.arantius.com/stopwatch
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scroggo at google.com
                CC: caryclark at google.com


On the Android platform, we use our own renderer on top of a RenderTextControl
to serve as an interface between our text input and WebKit.  When WebKit
changes the text (for example on http://tools.arantius.com/stopwatch), we need
to know to change our widget.  I assumed that EditorClient would be a good
place to do this, and I see an interface there for textDidChangeInTextField and
textDidChangeInTextArea.  Those sound like what I want, but they only seem to
be called as a result of a webkitEditableContentChanged event, which I do not
see happening.  RenderTextControl::updateFromElement sounds like a good place
to put this, and this function calls Editor->clearUndoRedoOperations (which in
turn calls its client's function of the same name).  Putting my code here
works, but it does not sound like it's the right place.  Have I overlooked
something, or do I need to submit a patch to provide this functionality?


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



More information about the webkit-unassigned mailing list