1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 09:57:35 +00:00

LibWeb: Add OOPWV IPC for selecting all text

This commit is contained in:
Timothy Flynn 2021-07-14 08:53:55 -04:00 committed by Andreas Kling
parent fea7e84b26
commit ae910e4370
5 changed files with 14 additions and 0 deletions

View file

@ -248,4 +248,10 @@ Messages::WebContentServer::GetSelectedTextResponse ClientConnection::get_select
return page().focused_context().selected_text();
}
void ClientConnection::select_all()
{
page().focused_context().select_all();
page().client().page_did_change_selection();
}
}