WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
82643
[BlackBerry] Expose CaseSensitive, Wrap, and HighlightAllMatches in WebPage::findNextString()
https://bugs.webkit.org/show_bug.cgi?id=82643
Summary
[BlackBerry] Expose CaseSensitive, Wrap, and HighlightAllMatches in WebPage::...
Mike Lattanzio
Reported
2012-03-29 12:44:20 PDT
Plumb through some additional parameters to improve find.
Attachments
Patch
(21.93 KB, patch)
2012-04-03 11:51 PDT
,
Mike Lattanzio
no flags
Details
Formatted Diff
Diff
Patch
(22.04 KB, patch)
2012-04-03 12:23 PDT
,
Mike Lattanzio
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mike Lattanzio
Comment 1
2012-04-03 11:51:07 PDT
Created
attachment 135380
[details]
Patch
Rob Buis
Comment 2
2012-04-03 12:06:56 PDT
Comment on
attachment 135380
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=135380&action=review
Looks good, can be improved a bit still.
> Source/WebKit/blackberry/WebKitSupport/InPageSearchManager.cpp:172 > + if (match) {
Can combine ttese two lines.
> Tools/DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:815 > WTF::String nameStr = jsStringRefToWebCoreString(target);
Probably no need for WTF::
> Tools/DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:838 > + return BlackBerry::WebKit::DumpRenderTree::currentInstance()->page()->findNextString(nameStr.utf8().data(), !(options & WebCore::Backwards), !(options & WebCore::CaseInsensitive), true, true);
You probably want to explain what true params do here (true /* wrap */ etc).
Antonio Gomes
Comment 3
2012-04-03 12:10:15 PDT
Comment on
attachment 135380
[details]
Patch Lets avoid bools in APIs. See how QtWebKit1 did it:
http://doc.qt.nokia.com/4.7-snapshot/qwebview.html#findText
Mike Lattanzio
Comment 4
2012-04-03 12:23:21 PDT
Created
attachment 135392
[details]
Patch
Rob Buis
Comment 5
2012-04-03 12:24:54 PDT
Comment on
attachment 135392
[details]
Patch Looks good.
WebKit Review Bot
Comment 6
2012-04-03 13:02:45 PDT
Comment on
attachment 135392
[details]
Patch Clearing flags on attachment: 135392 Committed
r113073
: <
http://trac.webkit.org/changeset/113073
>
WebKit Review Bot
Comment 7
2012-04-03 13:02:50 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug