summaryrefslogtreecommitdiff
path: root/render/html_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_internal.h')
-rw-r--r--render/html_internal.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/render/html_internal.h b/render/html_internal.h
index ad032f720..0f20cc1c3 100644
--- a/render/html_internal.h
+++ b/render/html_internal.h
@@ -127,12 +127,20 @@ void html__redraw_a_box(struct content *c, struct box *box);
struct browser_window *html_get_browser_window(struct content *c);
struct search_context *html_get_search(struct content *c);
void html_set_search(struct content *c, struct search_context *s);
+
/**
* Complete conversion of an HTML document
*
- * \param c Content to convert
+ * \param htmlc Content to convert
+ */
+void html_finish_conversion(html_content *htmlc);
+
+/**
+ * Begin conversion of an HTML document
+ *
+ * \param htmlc Content to convert
*/
-void html_finish_conversion(html_content *c);
+bool html_begin_conversion(html_content *htmlc);
/* in render/html_redraw.c */
bool html_redraw(struct content *c, struct content_redraw_data *data,
@@ -149,6 +157,7 @@ void html_overflow_scroll_callback(void *client_data,
/* in render/html_script.c */
dom_hubbub_error html_process_script(void *ctx, dom_node *node);
+void html_free_scripts(html_content *html);
/* in render/html_forms.c */
struct form *html_forms_get_forms(const char *docenc, dom_html_document *doc);