mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
WebContent+LibWebView: Add support for user style sheets
This commit is contained in:
committed by
Andreas Kling
parent
6dcd8d4a2c
commit
ec340f03a5
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user