diff options
author | James Bursa <james@netsurf-browser.org> | 2004-08-11 19:02:32 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-08-11 19:02:32 +0000 |
commit | bc727dda1c4078a8832e594acf0d02dbc139d2b6 (patch) | |
tree | 83b4565bc874022e2b151c38c16b679aa8e42b4c /render/html.c | |
parent | dba4904ddb5e82f0e941069da90d662d07d9c87f (diff) | |
download | netsurf-bc727dda1c4078a8832e594acf0d02dbc139d2b6.tar.gz netsurf-bc727dda1c4078a8832e594acf0d02dbc139d2b6.tar.bz2 |
[project @ 2004-08-11 19:02:32 by bursa]
Start work on removing instances and making content types non-shareable. Clean up some #includes.
svn path=/import/netsurf/; revision=1211
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c index b19e99c30..09cdd570c 100644 --- a/render/html.c +++ b/render/html.c @@ -24,6 +24,8 @@ #include "netsurf/desktop/gui.h" #endif #include "netsurf/desktop/options.h" +#include "netsurf/render/box.h" +#include "netsurf/render/font.h" #include "netsurf/render/html.h" #include "netsurf/render/layout.h" #include "netsurf/utils/log.h" @@ -586,6 +588,10 @@ void html_convert_css_callback(content_msg msg, struct content *css, } break; + case CONTENT_MSG_NEWPTR: + c->data.html.stylesheet_content[i] = css; + break; + #ifdef WITH_AUTH case CONTENT_MSG_AUTH: c->data.html.stylesheet_content[i] = 0; @@ -743,6 +749,10 @@ void html_object_callback(content_msg msg, struct content *object, content_broadcast(c, CONTENT_MSG_REDRAW, data); break; + case CONTENT_MSG_NEWPTR: + c->data.html.object[i].content = object; + break; + #ifdef WITH_AUTH case CONTENT_MSG_AUTH: c->data.html.object[i].content = 0; |