mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 07:22:50 +00:00
LibWeb+LibWebView+WebContent: Add traverse_history_by_delta() IPC call
This commit is contained in:
parent
a71b2e5fd9
commit
0c839f0421
Notes:
sideshowbarker
2024-07-17 10:05:47 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 0c839f0421
Pull-request: https://github.com/SerenityOS/serenity/pull/23952
Reviewed-by: https://github.com/trflynn89
7 changed files with 21 additions and 0 deletions
|
@ -95,6 +95,11 @@ void ViewImplementation::reload()
|
|||
client().async_reload(page_id());
|
||||
}
|
||||
|
||||
void ViewImplementation::traverse_the_history_by_delta(int delta)
|
||||
{
|
||||
client().async_traverse_the_history_by_delta(page_id(), delta);
|
||||
}
|
||||
|
||||
void ViewImplementation::zoom_in()
|
||||
{
|
||||
if (m_zoom_level >= ZOOM_MAX_LEVEL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue