summaryrefslogtreecommitdiff
path: root/render/html.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-08-20 22:52:20 +0000
committerJames Bursa <james@netsurf-browser.org>2005-08-20 22:52:20 +0000
commit8afd957986ade6208ec315fcac410a290e40b68b (patch)
treeb963490b452c9d35b633a6601a406c36aca24e62 /render/html.h
parent123fd6b94e170b2d44a935fab072f164fd793465 (diff)
downloadnetsurf-8afd957986ade6208ec315fcac410a290e40b68b.tar.gz
netsurf-8afd957986ade6208ec315fcac410a290e40b68b.tar.bz2
[project @ 2005-08-20 22:52:20 by bursa]
Work towards implementing link target frames: add target attribute to struct box, add frame to struct content_html_object and html_fetch_object(). svn path=/import/netsurf/; revision=1849
Diffstat (limited to 'render/html.h')
-rw-r--r--render/html.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/render/html.h b/render/html.h
index 3bc71d834..9a0077af4 100644
--- a/render/html.h
+++ b/render/html.h
@@ -43,7 +43,8 @@ struct content_html_object {
/** Pointer to array of permitted content_type, terminated by
* CONTENT_UNKNOWN, or 0 if any type is acceptable. */
const content_type *permitted_types;
- bool background; /** Is this object a background image? */
+ bool background; /**< This object is a background image. */
+ char *frame; /**< Name of frame, or 0 if not a frame. */
};
/** Data specific to CONTENT_HTML. */
@@ -78,10 +79,10 @@ struct content_html_data {
struct content_html_object *object;
/** Forms, in reverse order to document. */
struct form *forms;
- /** Hash table of imagemaps */
+ /** Hash table of imagemaps. */
struct imagemap **imagemaps;
- /**< Browser window containing this document, or 0 if not open. */
+ /** Browser window containing this document, or 0 if not open. */
struct browser_window *bw;
};
@@ -97,7 +98,7 @@ void html_destroy(struct content *c);
bool html_fetch_object(struct content *c, char *url, struct box *box,
const content_type *permitted_types,
int available_width, int available_height,
- bool background);
+ bool background, char *frame);
void html_stop(struct content *c);
void html_open(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,