summaryrefslogtreecommitdiff
path: root/content/handlers/html/box_textarea.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2018-05-11 13:15:17 +0100
committerVincent Sanders <vince@kyllikki.org>2018-05-11 13:18:54 +0100
commit216fb88f58227f94e87d9e9926b599161a8e65bb (patch)
tree67f7dd0a4ecaf28a7a37552c5c81193b7ba9a5bf /content/handlers/html/box_textarea.h
parentdc9e7c989f1a259a8fee9a6e1a4c6be6186f7c31 (diff)
downloadnetsurf-216fb88f58227f94e87d9e9926b599161a8e65bb.tar.gz
netsurf-216fb88f58227f94e87d9e9926b599161a8e65bb.tar.bz2
clean up html content handler header use
Improve header use in preperation for making browser window a corewindow
Diffstat (limited to 'content/handlers/html/box_textarea.h')
-rw-r--r--content/handlers/html/box_textarea.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/content/handlers/html/box_textarea.h b/content/handlers/html/box_textarea.h
index e2b02e811..822fc8b10 100644
--- a/content/handlers/html/box_textarea.h
+++ b/content/handlers/html/box_textarea.h
@@ -24,11 +24,9 @@
#ifndef NETSURF_HTML_BOX_TEXTAREA_H
#define NETSURF_HTML_BOX_TEXTAREA_H
-
-#include "html/box.h"
-#include "html/html_internal.h"
-
struct dom_node;
+struct html_content;
+struct box;
/**
* Create textarea widget for a form element
@@ -37,7 +35,7 @@ struct dom_node;
* \param box box with gadget to be given textarea widget
* \param node DOM node for form element
*/
-bool box_textarea_create_textarea(html_content *html,
+bool box_textarea_create_textarea(struct html_content *html,
struct box *box, struct dom_node *node);
@@ -49,6 +47,6 @@ bool box_textarea_create_textarea(html_content *html,
* \param key keypress
* \return true iff keypress handled
*/
-bool box_textarea_keypress(html_content *html, struct box *box, uint32_t key);
+bool box_textarea_keypress(struct html_content *html, struct box *box, uint32_t key);
#endif