diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 17:09:21 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2012-03-24 17:09:21 +0000 |
commit | d1194be49f94de3fad35302c647433c4b16fb917 (patch) | |
tree | 3f4e15f0bb195d3fb722bc187c1771d71641bb73 /render/html.h | |
parent | 85d3e6337f0fb93c12cab2211973fe46aff4f840 (diff) | |
download | netsurf-d1194be49f94de3fad35302c647433c4b16fb917.tar.gz netsurf-d1194be49f94de3fad35302c647433c4b16fb917.tar.bz2 |
Migrate frame types so that desktop/browser.h does not include render/html.h
svn path=/trunk/netsurf/; revision=13605
Diffstat (limited to 'render/html.h')
-rw-r--r-- | render/html.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/render/html.h b/render/html.h index b33e3112a..7d2ef82cf 100644 --- a/render/html.h +++ b/render/html.h @@ -31,6 +31,7 @@ #include "desktop/mouse.h" #include "desktop/plot_style.h" #include "render/parser_binding.h" +#include "desktop/frame_types.h" struct fetch_multipart_data; struct box; @@ -57,21 +58,6 @@ struct html_stylesheet { } data; /**< Sheet data */ }; -struct frame_dimension { - float value; - enum { - FRAME_DIMENSION_PIXELS, /* '100', '200' */ - FRAME_DIMENSION_PERCENT, /* '5%', '20%' */ - FRAME_DIMENSION_RELATIVE /* '*', '2*' */ - } unit; -}; - -typedef enum { - SCROLLING_AUTO, - SCROLLING_YES, - SCROLLING_NO -} frame_scrolling; - /** An object (<img>, <object>, etc.) in a CONTENT_HTML document. */ struct content_html_object { |