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

LibWebView+WebContent: Propagate close from WebContent to LibWebView

This commit is contained in:
Aliaksandr Kalenik 2023-03-07 06:10:26 +03:00 committed by Linus Groh
parent f276e70ac9
commit cc41233be4
10 changed files with 27 additions and 0 deletions

View file

@ -459,6 +459,12 @@ void OutOfProcessWebView::notify_server_did_set_cookie(Badge<WebContentClient>,
on_set_cookie(url, cookie, source);
}
void OutOfProcessWebView::notify_server_did_close_browsing_context(Badge<WebContentClient>)
{
if (on_close)
on_close();
}
void OutOfProcessWebView::notify_server_did_update_cookie(Badge<WebContentClient>, Web::Cookie::Cookie const& cookie)
{
if (on_update_cookie)