+void BrowserView::mouseBack() const
+{
+ // Go back if possible.
+ if (webEngineHistoryPointer->canGoBack())
+ {
+ // Clear the URL line edit focus.
+ emit clearUrlLineEditFocus();
+
+ // Go back.
+ webEngineViewPointer->back();
+ }
+}
+
+void BrowserView::mouseForward() const
+{
+ // Go forward if possible.
+ if (webEngineHistoryPointer->canGoForward())
+ {
+ // Clear the URL line edit focus.
+ emit clearUrlLineEditFocus();
+
+ // Go forward.
+ webEngineViewPointer->forward();
+ }
+}
+