mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibWebView+WebContent: Add IPCs to navigate the browser's history
This commit is contained in:
committed by
Linus Groh
parent
f84b2e9e7d
commit
24fb7cd0ad
@@ -309,6 +309,24 @@ void OutOfProcessWebView::notify_server_did_finish_loading(Badge<WebContentClien
|
||||
on_load_finish(url);
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_request_navigate_back(Badge<WebContentClient>)
|
||||
{
|
||||
if (on_navigate_back)
|
||||
on_navigate_back();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_request_navigate_forward(Badge<WebContentClient>)
|
||||
{
|
||||
if (on_navigate_forward)
|
||||
on_navigate_forward();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_request_refresh(Badge<WebContentClient>)
|
||||
{
|
||||
if (on_refresh)
|
||||
on_refresh();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_request_context_menu(Badge<WebContentClient>, Gfx::IntPoint const& content_position)
|
||||
{
|
||||
if (on_context_menu_request)
|
||||
|
||||
Reference in New Issue
Block a user