1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibWeb+Browser: Make ad blocking work in the multi-process world

We now send the list of content filters over to new WebContent processes
after creating an OutOfProcessWebView. :^)
This commit is contained in:
Andreas Kling 2021-09-27 11:39:17 +02:00
parent b0858b2a55
commit a79bdd2bd5
8 changed files with 22 additions and 4 deletions

View file

@ -472,4 +472,9 @@ String OutOfProcessWebView::dump_layout_tree()
return client().dump_layout_tree();
}
void OutOfProcessWebView::set_content_filters(Vector<String> filters)
{
client().async_set_content_filters(filters);
}
}