mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
update history actions api
This commit is contained in:
parent
9ef5b169d3
commit
0a09de1fdd
12 changed files with 106 additions and 109 deletions
|
|
@ -104,27 +104,25 @@ Browser::Browser(
|
|||
// Tab page navigation actions
|
||||
add_action(
|
||||
"main_tab_page_navigation_update",
|
||||
[this](const bool & ADD_HISTORY = false)
|
||||
{
|
||||
browserMain->tab_page_navigation_update(
|
||||
ADD_HISTORY
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
add_action(
|
||||
"main_tab_page_navigation_history_try_back",
|
||||
[this]()
|
||||
{
|
||||
browserMain->tab_page_navigation_history_try_back();
|
||||
browserMain->tab_page_navigation_update();
|
||||
}
|
||||
);
|
||||
|
||||
add_action(
|
||||
"main_tab_page_navigation_history_try_forward",
|
||||
"main_tab_page_navigation_history_back",
|
||||
[this]()
|
||||
{
|
||||
browserMain->tab_page_navigation_history_back();
|
||||
}
|
||||
);
|
||||
|
||||
add_action(
|
||||
"main_tab_page_navigation_history_forward",
|
||||
[this]
|
||||
{
|
||||
browserMain->tab_page_navigation_history_try_forward();
|
||||
browserMain->tab_page_navigation_history_forward();
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue