mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
WebContent+LibWebView: Add support for user style sheets
This commit is contained in:
parent
6dcd8d4a2c
commit
ec340f03a5
7 changed files with 24 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2023, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
|
||||
* Copyright (c) 2021-2023, Sam Atkins <atkinssj@serenityos.org>
|
||||
* Copyright (c) 2021-2023, Linus Groh <linusg@serenityos.org>
|
||||
* Copyright (c) 2022, Tobias Christiansen <tobyase@serenityos.org>
|
||||
* Copyright (c) 2022, Tim Flynn <trflynn89@serenityos.org>
|
||||
|
@ -859,6 +859,11 @@ void ConnectionFromClient::toggle_media_controls_state()
|
|||
m_page_host->toggle_media_controls_state().release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_user_style(String const& source)
|
||||
{
|
||||
m_page_host->set_user_style(source);
|
||||
}
|
||||
|
||||
void ConnectionFromClient::inspect_accessibility_tree()
|
||||
{
|
||||
if (auto* doc = page().top_level_browsing_context().active_document()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue