1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +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

@ -240,6 +240,11 @@ void WebContentClient::did_update_cookie(Web::Cookie::Cookie const& cookie)
m_view.notify_server_did_update_cookie({}, cookie);
}
void WebContentClient::did_close_browsing_context()
{
m_view.notify_server_did_close_browsing_context({});
}
void WebContentClient::did_update_resource_count(i32 count_waiting)
{
m_view.notify_server_did_update_resource_count(count_waiting);