diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-04-05 21:35:38 +0000 |
commit | 2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47 (patch) | |
tree | 0647010a17aee4237d125e42cc8bd726ec0573ae /content/content.h | |
parent | 89daef932a9bbc46e276f6d306b0aabf109806f9 (diff) | |
download | netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.gz netsurf-2748fe4f6483f8cfb3c4f91a01e8d897b7d1ac47.tar.bz2 |
Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
Diffstat (limited to 'content/content.h')
-rw-r--r-- | content/content.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/content/content.h b/content/content.h index ef91135ee..b9af6c267 100644 --- a/content/content.h +++ b/content/content.h @@ -33,11 +33,10 @@ #include "content/content_type.h" #include "desktop/plot_style.h" -struct llcache_handle; - struct box; struct browser_window; struct content; +struct llcache_handle; struct hlcache_handle; struct object_params; @@ -63,6 +62,7 @@ typedef enum { CONTENT_MSG_REFORMAT, /**< content_reformat done */ CONTENT_MSG_REDRAW, /**< needs redraw (eg. new animation frame) */ CONTENT_MSG_REFRESH, /**< wants refresh */ + CONTENT_MSG_DOWNLOAD /**< download, not for display */ } content_msg; /** Extra data for some content_msg messages. */ @@ -82,6 +82,8 @@ union content_msg_data { float object_width, object_height; } redraw; int delay; /**< Minimum delay, for CONTENT_MSG_REFRESH */ + /** Low-level cache handle, for CONTENT_MSG_DOWNLOAD */ + struct llcache_handle *download; }; @@ -142,7 +144,4 @@ void content_invalidate_reuse_data(struct hlcache_handle *c); const char *content_get_refresh_url(struct hlcache_handle *c); struct bitmap *content_get_bitmap(struct hlcache_handle *c); -/* Download support */ -struct llcache_handle *content_convert_to_download(struct hlcache_handle *c); - #endif |