mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWebView+WebContent: Add IPCs to navigate the browser's history
This commit is contained in:
parent
f84b2e9e7d
commit
24fb7cd0ad
Notes:
sideshowbarker
2024-07-17 04:34:48 +09:00
Author: https://github.com/trflynn89
Commit: 24fb7cd0ad
Pull-request: https://github.com/SerenityOS/serenity/pull/16033
Reviewed-by: https://github.com/linusg ✅
6 changed files with 48 additions and 0 deletions
|
@ -33,6 +33,21 @@ void WebContentClient::did_finish_loading(AK::URL const& url)
|
|||
m_view.notify_server_did_finish_loading({}, url);
|
||||
}
|
||||
|
||||
void WebContentClient::did_request_navigate_back()
|
||||
{
|
||||
m_view.notify_server_did_request_navigate_back({});
|
||||
}
|
||||
|
||||
void WebContentClient::did_request_navigate_forward()
|
||||
{
|
||||
m_view.notify_server_did_request_navigate_forward({});
|
||||
}
|
||||
|
||||
void WebContentClient::did_request_refresh()
|
||||
{
|
||||
m_view.notify_server_did_request_refresh({});
|
||||
}
|
||||
|
||||
void WebContentClient::did_invalidate_content_rect(Gfx::IntRect const& content_rect)
|
||||
{
|
||||
dbgln_if(SPAM_DEBUG, "handle: WebContentClient::DidInvalidateContentRect! content_rect={}", content_rect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue