From 09afabf63cc1fc15978a80351c9eb77b1e9d3974 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 Aug 2004 22:19:13 +0000 Subject: [project @ 2004-08-06 22:19:12 by jmb] Anchor support svn path=/import/netsurf/; revision=1187 --- desktop/browser.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'desktop/browser.h') diff --git a/desktop/browser.h b/desktop/browser.h index a44588b6a..42bdb39d4 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -51,6 +51,9 @@ struct browser_window bool history_add; /** Start time of fetching loading_content. */ clock_t time0; + + /** Fragment identifier for current_content */ + char *frag_id; }; @@ -82,7 +85,8 @@ void hotlist_visited(struct content *content); /* In platform specific history.c. */ struct history *history_create(void); -void history_add(struct history *history, struct content *content); +void history_add(struct history *history, struct content *content, + char *frag_id); void history_update(struct history *history, struct content *content); void history_destroy(struct history *history); void history_back(struct browser_window *bw, struct history *history); -- cgit v1.2.3