LibWeb+LibWebView+WebContent: Support case-insensitive find-in-page

This allows searching for text with case-insensitivity. As this is
probably what most users expect, the default behavior is changes to
perform case-insensitive lookups. Chromes may add UI to change the
behavior as they see fit.
This commit is contained in:
Timothy Flynn
2024-05-31 16:01:34 -04:00
committed by Andreas Kling
parent fe3fde2411
commit b01e810a89
10 changed files with 16 additions and 14 deletions

View File

@@ -180,9 +180,9 @@ void ViewImplementation::paste(String const& text)
client().async_paste(page_id(), text);
}
void ViewImplementation::find_in_page(String const& query)
void ViewImplementation::find_in_page(String const& query, CaseSensitivity case_sensitivity)
{
client().async_find_in_page(page_id(), query);
client().async_find_in_page(page_id(), query, case_sensitivity);
}
void ViewImplementation::find_in_page_next_match()