diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-08 08:06:22 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-08 08:06:22 +0300 |
commit | d6875fba63cc674d2d9cac64a66c3b4c9f3eaba1 (patch) | |
tree | a12111a19b594fc17792a7a851d1526597470121 /src/ui/documentwidget.h | |
parent | 9abe27c63e088bf1e139d108cbc29ac39222d74c (diff) |
Moved recent URLs history to DocumentWidget
App maintains the visited URLs database, but each DocumentWidget has its own stack of recent URLs for timeline navigation.
Diffstat (limited to 'src/ui/documentwidget.h')
-rw-r--r-- | src/ui/documentwidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/documentwidget.h b/src/ui/documentwidget.h index 7064d0d7..5ce28f4e 100644 --- a/src/ui/documentwidget.h +++ b/src/ui/documentwidget.h | |||
@@ -2,10 +2,15 @@ | |||
2 | 2 | ||
3 | #include "widget.h" | 3 | #include "widget.h" |
4 | 4 | ||
5 | iDeclareType(History) | ||
6 | |||
5 | iDeclareWidgetClass(DocumentWidget) | 7 | iDeclareWidgetClass(DocumentWidget) |
6 | iDeclareObjectConstruction(DocumentWidget) | 8 | iDeclareObjectConstruction(DocumentWidget) |
7 | 9 | ||
10 | iHistory * history_DocumentWidget (iDocumentWidget *); | ||
11 | |||
8 | void setUrl_DocumentWidget (iDocumentWidget *, const iString *url); | 12 | void setUrl_DocumentWidget (iDocumentWidget *, const iString *url); |
9 | void setUrlFromCache_DocumentWidget (iDocumentWidget *d, const iString *url, iBool isFromCache); | 13 | void setUrlFromCache_DocumentWidget (iDocumentWidget *d, const iString *url, iBool isFromCache); |
10 | void setInitialScroll_DocumentWidget (iDocumentWidget *, int scrollY); /* set after content received */ | 14 | void setInitialScroll_DocumentWidget (iDocumentWidget *, int scrollY); /* set after content received */ |
15 | |||
11 | iBool isRequestOngoing_DocumentWidget (const iDocumentWidget *); | 16 | iBool isRequestOngoing_DocumentWidget (const iDocumentWidget *); |