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

LibWebView+WebContent: Add IPC to update a document's cookie

This commit is contained in:
Timothy Flynn 2022-11-11 11:18:40 -05:00 committed by Linus Groh
parent 18abc6c85d
commit d202999853
6 changed files with 16 additions and 0 deletions

View file

@ -409,6 +409,12 @@ void OutOfProcessWebView::notify_server_did_set_cookie(Badge<WebContentClient>,
on_set_cookie(url, cookie, source);
}
void OutOfProcessWebView::notify_server_did_update_cookie(Badge<WebContentClient>, AK::URL const& url, Web::Cookie::Cookie const& cookie)
{
if (on_update_cookie)
on_update_cookie(url, cookie);
}
void OutOfProcessWebView::notify_server_did_update_resource_count(i32 count_waiting)
{
if (on_resource_status_change)