From 8c2cfecfb5e83d023609914dd101c23777fd2906 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 6 Nov 2014 22:51:46 +0000 Subject: Allow content handlers to have debug values set through API Previously content handler debugging features were accessed by global variables. This allows the setting of debugging parameters via a content API giving per content control over debugging features. Currently only used by the html content handler to toggle global redraw debugging. --- content/content_protected.h | 1 + 1 file changed, 1 insertion(+) (limited to 'content/content_protected.h') diff --git a/content/content_protected.h b/content/content_protected.h index ce161befc..af274ef5a 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -77,6 +77,7 @@ struct content_handler { const char *string); void (*search_clear)(struct content *c); nserror (*debug_dump)(struct content *c, FILE *f, enum content_debug op); + nserror (*debug)(struct content *c, enum content_debug op); nserror (*clone)(const struct content *old, struct content **newc); bool (*matches_quirks)(const struct content *c, bool quirks); const char *(*get_encoding)(const struct content *c); -- cgit v1.2.3