mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 02:32:44 +03:00
reduce unecessary usage of content headers
This commit is contained in:
parent
9c8d60792f
commit
0fad46cd0f
@ -39,7 +39,7 @@ typedef struct hlcache_child_context {
|
||||
} hlcache_child_context;
|
||||
|
||||
/** High-level cache event */
|
||||
typedef struct {
|
||||
typedef struct hlcache_event {
|
||||
content_msg type; /**< Event type */
|
||||
union content_msg_data data; /**< Event data */
|
||||
} hlcache_event;
|
||||
|
@ -37,7 +37,7 @@ struct fetch_multipart_data;
|
||||
typedef struct llcache_handle llcache_handle;
|
||||
|
||||
/** POST data object for low-level cache requests */
|
||||
typedef struct {
|
||||
typedef struct llcache_post_data {
|
||||
enum {
|
||||
LLCACHE_POST_URL_ENCODED,
|
||||
LLCACHE_POST_MULTIPART
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "utils/file.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "content/fetchers.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "content/urldb.h"
|
||||
#include "content/backing_store.h"
|
||||
#include "netsurf/browser_window.h"
|
||||
|
@ -33,8 +33,6 @@
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "utils/utils.h"
|
||||
#include "content/content.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "netsurf/plotters.h"
|
||||
#include "desktop/print.h"
|
||||
@ -48,7 +46,7 @@
|
||||
/* Globals */
|
||||
cairo_t *gtk_print_current_cr;
|
||||
static struct print_settings* settings;
|
||||
hlcache_handle *content_to_print;
|
||||
struct hlcache_handle *content_to_print;
|
||||
static GdkRectangle cliprect;
|
||||
|
||||
static inline void nsgtk_print_set_colour(colour c)
|
||||
|
@ -28,12 +28,11 @@
|
||||
#include "utils/config.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "content/content.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "utils/nsurl.h"
|
||||
#include "netsurf/search.h"
|
||||
#include "netsurf/browser_window.h"
|
||||
#include "desktop/search.h"
|
||||
#include "desktop/searchweb.h"
|
||||
#include "netsurf/search.h"
|
||||
|
||||
#include "gtk/warn.h"
|
||||
#include "gtk/compat.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "utils/nsoption.h"
|
||||
#include "utils/messages.h"
|
||||
#include "netsurf/browser_window.h"
|
||||
#include "content/content.h"
|
||||
#include "desktop/search.h"
|
||||
|
||||
#include "gtk/compat.h"
|
||||
|
@ -40,10 +40,8 @@
|
||||
#include "utils/utils.h"
|
||||
#include "utils/file.h"
|
||||
#include "utils/filepath.h"
|
||||
|
||||
#include "utils/nsurl.h"
|
||||
#include "netsurf/browser_window.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "content/content.h"
|
||||
|
||||
#include "gtk/warn.h"
|
||||
#include "gtk/about.h"
|
||||
|
Loading…
Reference in New Issue
Block a user