mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWebView+Ladybird: Move text selection to ViewImplementation
This commit is contained in:
parent
8c11a2c253
commit
5bf5697f16
Notes:
sideshowbarker
2024-07-17 07:48:42 +09:00
Author: https://github.com/linusg
Commit: 5bf5697f16
Pull-request: https://github.com/SerenityOS/serenity/pull/16983
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