[Webkit-unassigned] [Bug 66681] Need API for getting surrounding text from webkit in chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 23 04:32:09 PDT 2011


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





--- Comment #2 from MORITA Hajime <morrita at google.com>  2011-08-23 04:32:09 PST ---
(From update of attachment 104692)
View in context: https://bugs.webkit.org/attachment.cgi?id=104692&action=review

> Source/WebKit/chromium/public/WebWidget.h:154
> +    virtual bool surrounding(WebString& text, size_t& cursor, size_t& anchor) { return false; }

You can return WebSize. See (Source/WebKit/public/WebSize.h)

> Source/WebKit/chromium/src/WebViewImpl.cpp:1512
> +bool WebViewImpl::surrounding(WebString& text, size_t& cursor, size_t& anchor)

It's sad to have this logic in WebKit layer.
If we have this in WebCore and make it available from LayoutTestcontroller or window.internals, It can be testable
and also would be helpful for other ports.

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