mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
Browser: Show currently loading host and remaining resource count
This commit is contained in:
parent
fb6c8781a2
commit
7594350376
Notes:
sideshowbarker
2024-07-17 17:38:16 +09:00
Author: https://github.com/ben-abraham
Commit: 7594350376
Pull-request: https://github.com/SerenityOS/serenity/pull/12694
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/trflynn89
13 changed files with 85 additions and 8 deletions
|
@ -391,6 +391,12 @@ void OutOfProcessWebView::notify_server_did_set_cookie(Badge<WebContentClient>,
|
|||
on_set_cookie(url, cookie, source);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_update_resource_count(i32 count_waiting)
|
||||
{
|
||||
if (on_resource_status_change)
|
||||
on_resource_status_change(count_waiting);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::did_scroll()
|
||||
{
|
||||
client().async_set_viewport_rect(visible_content_rect());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue