LibWebView: Integrate bookmarks into the application menus and settings

This adds application menus and actions to display and manage bookmarks.
These menus will be used by the UIs to generate concrete widgets.
This commit is contained in:
Timothy Flynn
2026-03-22 11:44:54 -04:00
committed by Tim Flynn
parent 428b7eeffa
commit 2025e6e523
Notes: github-actions[bot] 2026-03-24 16:06:28 +00:00
8 changed files with 228 additions and 11 deletions

View File

@@ -523,10 +523,8 @@ void WebContentClient::did_change_favicon(u64 page_id, Gfx::ShareableBitmap favi
return;
}
if (auto view = view_for_page_id(page_id); view.has_value()) {
if (view->on_favicon_change)
view->on_favicon_change(*favicon.bitmap());
}
if (auto view = view_for_page_id(page_id); view.has_value())
view->set_favicon({}, *favicon.bitmap());
}
void WebContentClient::did_request_document_cookie_version_index(u64 page_id, i64 document_id, String domain)