LibWebView+Ladybird: Move text selection to ViewImplementation

This commit is contained in:
Linus Groh 2023-01-12 20:42:42 +00:00 committed by Andreas Kling
commit 5bf5697f16
Notes: sideshowbarker 2024-07-17 07:48:42 +09:00
6 changed files with 13 additions and 26 deletions

View file

@ -61,6 +61,16 @@ void ViewImplementation::reset_zoom()
update_zoom();
}
DeprecatedString ViewImplementation::selected_text()
{
return client().get_selected_text();
}
void ViewImplementation::select_all()
{
client().async_select_all();
}
void ViewImplementation::get_source()
{
client().async_get_source();