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

Ladybird: Add "Copy" and "Select All" actions to the Edit menu

This commit is contained in:
Andreas Kling 2023-01-11 20:09:52 +01:00
parent b79bc25a1f
commit 9c7e26b8d4
4 changed files with 45 additions and 1 deletions

View file

@ -1120,3 +1120,13 @@ void WebContentView::notify_server_did_get_accessibility_tree(DeprecatedString c
{
dbgln("TODO: support accessibility tree in Ladybird");
}
DeprecatedString WebContentView::selected_text()
{
return client().get_selected_text();
}
void WebContentView::select_all()
{
client().async_select_all();
}