[M120 Migration][VD] Support search wrap around within the page 54/310754/3
authorfang fengrong <fr.fang@samsung.com>
Wed, 8 May 2024 01:03:32 +0000 (09:03 +0800)
committerBot Blink <blinkbot@samsung.com>
Wed, 8 May 2024 22:18:17 +0000 (22:18 +0000)
commitdfd5ea6d9ac7d3e3bab6b41db98e305e8526a237
tree061b326a30cb700bcad428ae09ad25f28b80beee
parent581cdc9e96b353ca670b17dbf4a95c7ebd9cf942
[M120 Migration][VD] Support search wrap around within the page

1. Support search wrap around within the page
Add "wrap_around" properties on FindOptionsPtr, default value is false.
App can pass "EWK_FIND_OPTIONS_WRAP_AROUND" option when calling
"ewk_view_text_find" api,
to search wrap around within the page.

2. Fix search wrap around issue when set wrap around false
As "new_session" properties signifies whether this operation is the
first request or a follow-up; for find next operation, set new_session
is false, or else will cause search wrap around issue when set wrap
around false.

refer:
https://review.tizen.org/gerrit/#/c/291844/

Change-Id: Id5620fd3b6f8bff92fe608f24eaf36a693835692
Signed-off-by: fang fengrong <fr.fang@samsung.com>
third_party/blink/public/mojom/frame/find_in_page.mojom
third_party/blink/renderer/core/frame/find_in_page.cc
tizen_src/ewk/efl_integration/eweb_view.cc