1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

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
parent 8c11a2c253
commit 5bf5697f16
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();