From 79ce683b4e6d34fe327b00f1e427e476016cfab0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 4 Apr 2010 12:41:19 +0000 Subject: Most of a stop implementation. Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236 --- css/css.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'css/css.h') diff --git a/css/css.h b/css/css.h index cd09beda6..c95f87053 100644 --- a/css/css.h +++ b/css/css.h @@ -57,6 +57,8 @@ bool nscss_convert(struct content *c); void nscss_destroy(struct content *c); +bool nscss_clone(const struct content *old, struct content *new_content); + nserror nscss_create_css_data(struct content_css_data *c, const char *url, const char *charset, bool quirks); css_error nscss_process_css_data(struct content_css_data *c, const char *data, -- cgit v1.2.3