From e8d0ba15ad4a91b4644cac0095f40bb3246ec509 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 29 Apr 2020 20:37:42 +0100 Subject: split html box processing code reduce the module size of the html box handling code by splitting into smaller sections. No functional code change. --- desktop/frames.c | 1 + desktop/scrollbar.h | 1 + desktop/selection.c | 1 + 3 files changed, 3 insertions(+) (limited to 'desktop') diff --git a/desktop/frames.c b/desktop/frames.c index 1ed114540..a03f86c8f 100644 --- a/desktop/frames.c +++ b/desktop/frames.c @@ -35,6 +35,7 @@ #include "content/hlcache.h" #include "html/html.h" #include "html/box.h" +#include "html/box_inspect.h" #include "desktop/browser_private.h" #include "desktop/frames.h" diff --git a/desktop/scrollbar.h b/desktop/scrollbar.h index fa5e167f2..796520724 100644 --- a/desktop/scrollbar.h +++ b/desktop/scrollbar.h @@ -38,6 +38,7 @@ #define SCROLL_BOTTOM INT_MAX struct scrollbar; +struct redraw_context; /** * scrollbar message types diff --git a/desktop/selection.c b/desktop/selection.c index c8edda7b1..6c8f5d798 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -33,6 +33,7 @@ #include "utils/utils.h" #include "netsurf/form.h" #include "html/box.h" +#include "html/box_inspect.h" #include "html/html_internal.h" #include "html/font.h" #include "text/textplain.h" -- cgit v1.2.3