[Webkit-unassigned] [Bug 99438] [WK2][WTR] Text input controller needs selectedRange implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 26 07:37:08 PDT 2012


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





--- Comment #11 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2012-10-26 07:38:18 PST ---
(From update of attachment 170910)
View in context: https://bugs.webkit.org/attachment.cgi?id=170910&action=review

> Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:70
> +WK_EXPORT bool WKBundlePageSelectedRange(WKBundlePageRef pageRef, uint64_t& location, uint64_t& length);

I'm not sure other C-WK-API methods return a bool for getters. Maybe making location = -1 makes more sense?

> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:3334
> +{

location = WTF::notFound ?

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