mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb+WebContent: Support displaying favicons in OOPWV
In single process mode, the browser will display a page's favicon in both the location bar and tab. This adds the same support for multi- process mode.
This commit is contained in:
parent
ff0d4c6f7c
commit
557927f25b
Notes:
sideshowbarker
2024-07-18 21:04:16 +09:00
Author: https://github.com/trflynn89 🔰
Commit: 557927f25b
Pull-request: https://github.com/SerenityOS/serenity/pull/5958
7 changed files with 24 additions and 0 deletions
|
@ -335,6 +335,12 @@ void OutOfProcessWebView::notify_server_did_js_console_output(const String& meth
|
|||
on_js_console_output(method, line);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_change_favicon(const Gfx::Bitmap& favicon)
|
||||
{
|
||||
if (on_favicon_change)
|
||||
on_favicon_change(favicon);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::did_scroll()
|
||||
{
|
||||
client().post_message(Messages::WebContentServer::SetViewportRect(visible_content_rect()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue