1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 14:15:08 +00:00

LibWeb+WebContent: Add plumbing for 'webdriver-active flag'

This commit is contained in:
Linus Groh 2022-10-12 23:49:23 +02:00 committed by Andreas Kling
parent 4c6f830a35
commit 3f24a444f9
8 changed files with 31 additions and 1 deletions

View file

@ -530,6 +530,11 @@ void OutOfProcessWebView::set_preferred_color_scheme(Web::CSS::PreferredColorSch
client().async_set_preferred_color_scheme(color_scheme);
}
void OutOfProcessWebView::set_is_webdriver_active(bool is_webdriver_enabled)
{
client().async_set_is_webdriver_active(is_webdriver_enabled);
}
void OutOfProcessWebView::focusin_event(GUI::FocusEvent&)
{
client().async_set_has_focus(true);