draft history action methods

This commit is contained in:
yggverse 2024-08-29 03:08:20 +03:00
parent c4e43f737e
commit 705a9e2a2a
5 changed files with 23 additions and 2 deletions

View File

@ -115,7 +115,7 @@ Browser::Browser(
"tab_history_back",
[this]
{
// @TODO
browserMain->tab_history_back();
}
);
@ -123,7 +123,7 @@ Browser::Browser(
"tab_history_forward",
[this]
{
// @TODO
browserMain->tab_history_forward();
}
);
}

View File

@ -79,6 +79,16 @@ void Main::tab_close_all()
mainTab->close_all();
};
void Main::tab_history_back()
{
mainTab->history_back();
};
void Main::tab_history_forward()
{
mainTab->history_forward();
};
void Main::refresh()
{
mainTab->refresh(

View File

@ -35,6 +35,8 @@ namespace app::browser
void tab_close_left();
void tab_close_right();
void tab_close();
void tab_history_back();
void tab_history_forward();
void tab_update();
void refresh();

View File

@ -98,6 +98,12 @@ void Tab::close_all()
}
}
void Tab::history_back()
{} // @TODO
void Tab::history_forward()
{} // @TODO
void Tab::refresh(
const int & PAGE_NUMBER
) {

View File

@ -54,6 +54,9 @@ namespace app::browser::main
void close_right();
void close_all();
void history_back();
void history_forward();
void refresh(
const int & PAGE_NUMBER
);