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:
parent
8c11a2c253
commit
5bf5697f16
6 changed files with 13 additions and 26 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue