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

LibWeb+LibWebView+WebContent: Add support for meta theme-color

This commit is contained in:
Junior Rantila 2023-09-19 01:51:48 +02:00 committed by Andrew Kaster
parent 3c27843cfe
commit a5b01689f1
8 changed files with 61 additions and 0 deletions

View file

@ -396,4 +396,10 @@ void WebContentClient::did_finish_handling_input_event(bool event_was_accepted)
m_view.on_finish_handling_input_event(event_was_accepted);
}
void WebContentClient::did_change_theme_color(Gfx::Color color)
{
if (m_view.on_theme_color_change)
m_view.on_theme_color_change(color);
}
}