LibWeb+LibWebView+WebContent: Add an IPC call for Navigable::reload()

This commit is contained in:
Aliaksandr Kalenik
2024-04-13 18:51:27 +02:00
committed by Alexander Kalenik
parent 88f3145f8a
commit bfef08177e
7 changed files with 21 additions and 0 deletions

View File

@@ -90,6 +90,11 @@ void ViewImplementation::load_empty_document()
load_html(""sv);
}
void ViewImplementation::reload()
{
client().async_reload(page_id());
}
void ViewImplementation::zoom_in()
{
if (m_zoom_level >= ZOOM_MAX_LEVEL)