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

LibWeb: Add OOPWV IPC for retrieving selected text

This commit is contained in:
Timothy Flynn 2021-07-14 08:32:55 -04:00 committed by Andreas Kling
parent 528574d958
commit 2fda6ce159
5 changed files with 15 additions and 0 deletions

View file

@ -412,4 +412,9 @@ void OutOfProcessWebView::js_console_input(const String& js_source)
client().async_js_console_input(js_source);
}
String OutOfProcessWebView::selected_text()
{
return client().get_selected_text();
}
}