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:
parent
b0858b2a55
commit
a79bdd2bd5
8 changed files with 22 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue