summaryrefslogtreecommitdiff
path: root/content/content_protected.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-10-31 14:32:22 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-02-11 19:23:32 +0000
commita0e41a46a3b9b1f94c0449adeda18ff46fdf6a66 (patch)
tree55c2ce4e2fb3dbc613c8b9ecab9e80316f4c8606 /content/content_protected.h
parent90f65814c68b898117ea5cbccfd3221c72074c84 (diff)
downloadnetsurf-a0e41a46a3b9b1f94c0449adeda18ff46fdf6a66.tar.gz
netsurf-a0e41a46a3b9b1f94c0449adeda18ff46fdf6a66.tar.bz2
Stop GIF animations when they are no longer in use, instead of waiting until they are destroyed.
Diffstat (limited to 'content/content_protected.h')
-rw-r--r--content/content_protected.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content_protected.h b/content/content_protected.h
index 7311da604..e5ff1cae2 100644
--- a/content/content_protected.h
+++ b/content/content_protected.h
@@ -82,6 +82,8 @@ struct content_handler {
bool (*matches_quirks)(const struct content *c, bool quirks);
const char *(*get_encoding)(const struct content *c, enum content_encoding_type op);
content_type (*type)(void);
+ void (*add_user)(struct content *c);
+ void (*remove_user)(struct content *c);
/** handler dependant content sensitive internal data interface. */
void * (*get_internal)(const struct content *c, void *context);