From 2dc791a253f6aa881c7b5b1f075638d4a9e31bf8 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 5 Apr 2010 10:40:16 +0000 Subject: Remove redundant content message types and associated data svn path=/trunk/netsurf/; revision=10241 --- content/content.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'content') diff --git a/content/content.h b/content/content.h index 61fc6346f..ef91135ee 100644 --- a/content/content.h +++ b/content/content.h @@ -62,18 +62,12 @@ typedef enum { CONTENT_MSG_STATUS, /**< new status string */ CONTENT_MSG_REFORMAT, /**< content_reformat done */ CONTENT_MSG_REDRAW, /**< needs redraw (eg. new animation frame) */ - CONTENT_MSG_NEWPTR, /**< structure has been replaced */ CONTENT_MSG_REFRESH, /**< wants refresh */ - CONTENT_MSG_LAUNCH, /**< needs url launching in external program */ - CONTENT_MSG_AUTH, /**< authentication required */ - CONTENT_MSG_SSL /**< SSL cert verify failed */ } content_msg; /** Extra data for some content_msg messages. */ union content_msg_data { const char *error; /**< Error message, for CONTENT_MSG_ERROR. */ - const char *new_url; /**< Replacement URL (or NULL if the same - * as previous), for CONTENT_MSG_NEWPTR. */ /** Area of content which needs redrawing, for CONTENT_MSG_REDRAW. */ struct { float x, y, width, height; @@ -87,14 +81,7 @@ union content_msg_data { /** Dimensions to plot object with. */ float object_width, object_height; } redraw; - const char *auth_realm; /**< Realm, for CONTENT_MSG_AUTH. */ int delay; /**< Minimum delay, for CONTENT_MSG_REFRESH */ - const char *launch_url; /**< URL to launch, for CONTENT_MSG_LAUNCH */ - struct { - /** Certificate chain (certs[0] == server) */ - const struct ssl_cert_info *certs; - unsigned long num; /**< Number of certs in chain */ - } ssl; }; -- cgit v1.2.3