26#ifndef NETSURF_HTML_HTML_H
27#define NETSURF_HTML_HTML_H
148#define STYLESHEET_BASE 0
149#define STYLESHEET_QUIRKS 1
150#define STYLESHEET_ADBLOCK 2
151#define STYLESHEET_USER 3
152#define STYLESHEET_START 4
Browser window creation and manipulation interface.
Declaration of content enumerations.
content_type
The type of a content.
nserror
Enumeration of error codes.
Interface to browser frames.
bool html_get_id_offset(struct hlcache_handle *h, lwc_string *frag_id, int *x, int *y)
get the offset within the docuemnt of a fragment id
nserror html_init(void)
initialise content handler
struct html_stylesheet * html_get_stylesheets(struct hlcache_handle *h, unsigned int *n)
Retrieve stylesheets used by HTML document.
const char * html_get_base_target(struct hlcache_handle *h)
obtain html base target from handle
void html_redraw_a_box(struct hlcache_handle *h, struct box *box)
redraw a specific box
struct content_html_object * html_get_objects(struct hlcache_handle *h, unsigned int *n)
Retrieve objects used by HTML document.
struct content_html_iframe * html_get_iframe(struct hlcache_handle *h)
obtain html iframe content from handle
struct content_html_frames * html_get_frameset(struct hlcache_handle *h)
obtain html frame content from handle
void html_set_file_gadget_filename(struct hlcache_handle *hl, struct form_control *gadget, const char *fn)
set filename on a file gadget
Core mouse and pointer states.
static const struct plotter_table plotters
monkey plotter operations table
struct nsurl nsurl
NetSurf URL object.
Frame tree (frameset or frame tag)
char * name
frame margin height
int rows
number of columns in frameset
struct content_html_frames * children
frame border colour
int margin_width
frame width
struct nsurl * url
frame name (for targetting)
browser_scrolling scrolling
frame is not resizable
bool border
scrolling characteristics
colour border_colour
frame has a border
int margin_height
frame margin width
struct frame_dimension width
number of rows in frameset
struct frame_dimension height
frame width
Inline frame list (iframe tag)
struct content_html_iframe * next
frame border colour
int margin_height
frame margin width
browser_scrolling scrolling
frame url
struct nsurl * url
frame name (for targetting)
colour border_colour
frame has a border
bool border
scrolling characteristics
char * name
frame margin height
An object (img, object, etc.
bool background
This object is a background image.
struct content_html_object * next
Next in chain.
content_type permitted_types
Bitmap of acceptable content types.
struct box * box
Node in box tree containing it.
struct content * parent
Parent document.
struct hlcache_handle * content
Content, or 0.
Content which corresponds to a single URL.
Fetch POST multipart data.
Container for scripts used by an HTML document.
struct dom_string * encoding
struct dom_string * mimetype
union html_script::@136 data
Script data.
enum html_script::html_script_type type
html_script_type
Type of script.
struct dom_string * string
struct hlcache_handle * handle
Container for stylesheets used by an HTML document.
struct dom_node * node
dom node associated with sheet
struct hlcache_handle * sheet
Representation of an HTTP parameter.
Parameters for object element and similar elements.
uint32_t colour
Colour type: XBGR.