mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
Browser+LibWeb+WebContent: Implement per-URL-pattern proxies
...at least for SOCKS5.
This commit is contained in:
committed by
Andreas Kling
parent
f9fc28931f
commit
a42e03b01a
Notes:
sideshowbarker
2024-07-17 14:14:53 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/a42e03b01a Pull-request: https://github.com/SerenityOS/serenity/pull/13548 Reviewed-by: https://github.com/AtkinsSJ
@@ -500,6 +500,11 @@ void OutOfProcessWebView::set_content_filters(Vector<String> filters)
|
||||
client().async_set_content_filters(filters);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::set_proxy_mappings(Vector<String> proxies, HashMap<String, size_t> mappings)
|
||||
{
|
||||
client().async_set_proxy_mappings(move(proxies), move(mappings));
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::set_preferred_color_scheme(Web::CSS::PreferredColorScheme color_scheme)
|
||||
{
|
||||
client().async_set_preferred_color_scheme(color_scheme);
|
||||
|
||||
Reference in New Issue
Block a user