mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-20 03:30:11 +00:00
draft history action methods
This commit is contained in:
parent
c4e43f737e
commit
705a9e2a2a
@ -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();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@ -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(
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
) {
|
||||
|
@ -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
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user