diff options
author | Xan Lopez <xan@igalia.com> | 2012-03-14 01:57:56 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-03-14 19:45:03 +0800 |
commit | d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd (patch) | |
tree | d20150e82405b42d4a78c9fc44eb42d9f38edca4 /embed/ephy-embed-private.h | |
parent | c07e7d034b4cfdaad4fc35ef5e82bee9718a1bd9 (diff) | |
download | gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.tar gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.tar.gz gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.tar.bz2 gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.tar.lz gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.tar.xz gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.tar.zst gsoc2013-epiphany-d42586bb4a2fb45cad1fcc2cf7f6b49a423770cd.zip |
history: remember visit types
Instead of hardcoding all visits as 'TYPED' properly distinguish
between bookmarks, following links and typing URIs in the entry.
We'll use this to compute the frecency of history items.
Diffstat (limited to 'embed/ephy-embed-private.h')
-rw-r--r-- | embed/ephy-embed-private.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/embed/ephy-embed-private.h b/embed/ephy-embed-private.h index 17c6ad857..34ba6bcb1 100644 --- a/embed/ephy-embed-private.h +++ b/embed/ephy-embed-private.h @@ -22,9 +22,14 @@ #error "Only <epiphany/epiphany.h> can be included directly." #endif +#include "ephy-history-types.h" +#include "ephy-web-view.h" + #ifndef EPHY_EMBED_PRIVATE_H #define EPHY_EMBED_PRIVATE_H +G_BEGIN_DECLS + /* EphyWebView */ #define EPHY_WEB_VIEW_NON_SEARCH_REGEX "(" \ @@ -39,6 +44,12 @@ "^file:.*$" \ ")" +void ephy_web_view_set_visit_type (EphyWebView *view, + EphyHistoryPageVisitType visit_type); + +EphyHistoryPageVisitType ephy_web_view_get_visit_type (EphyWebView *view); + +G_END_DECLS #endif |