From 99fb4a68c0ddc74971278aab4e6556662202ad2c Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 5 Sep 2024 16:59:05 +0300 Subject: [PATCH] reorder methods --- src/app/browser/main/tab/page.cpp | 20 ++++++++++---------- src/app/browser/main/tab/page.hpp | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/browser/main/tab/page.cpp b/src/app/browser/main/tab/page.cpp index cde207c3..02438d80 100644 --- a/src/app/browser/main/tab/page.cpp +++ b/src/app/browser/main/tab/page.cpp @@ -56,16 +56,6 @@ Glib::ustring Page::get_subtitle() } // Actions -bool Page::navigation_history_try_back() -{ - return pageNavigation->history_try_back(); -} - -bool Page::navigation_history_try_forward() -{ - return pageNavigation->history_try_forward(); -} - void Page::refresh( const Glib::ustring & TITLE, const Glib::ustring & SUBTITLE, @@ -251,4 +241,14 @@ void Page::navigation_update( { // @TODO search request } +} + +bool Page::navigation_history_try_back() +{ + return pageNavigation->history_try_back(); +} + +bool Page::navigation_history_try_forward() +{ + return pageNavigation->history_try_forward(); } \ No newline at end of file diff --git a/src/app/browser/main/tab/page.hpp b/src/app/browser/main/tab/page.hpp index e0bb1db8..5bb71b63 100644 --- a/src/app/browser/main/tab/page.hpp +++ b/src/app/browser/main/tab/page.hpp @@ -53,9 +53,6 @@ namespace app::browser::main::tab Glib::ustring get_subtitle(); // Actions - bool navigation_history_try_back(); - bool navigation_history_try_forward(); - void refresh( const Glib::ustring & TITLE, const Glib::ustring & SUBTITLE, @@ -65,6 +62,9 @@ namespace app::browser::main::tab void navigation_update( const bool & HISTORY = false ); + + bool navigation_history_try_back(); + bool navigation_history_try_forward(); }; }