From 8611281b2efde71e17f20aedc9db22c1493788cc Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 19 Jun 2012 22:57:29 +0000 Subject: add content handler for javascript svn path=/trunk/netsurf/; revision=13971 --- content/content_type.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'content/content_type.h') diff --git a/content/content_type.h b/content/content_type.h index 8e24e4e8e..c0b3a2b23 100644 --- a/content/content_type.h +++ b/content/content_type.h @@ -36,12 +36,21 @@ typedef enum { CONTENT_TEXTPLAIN = 0x02, CONTENT_CSS = 0x04, + /** All images */ CONTENT_IMAGE = 0x08, + /** Navigator API Plugins */ CONTENT_PLUGIN = 0x10, + /** Themes (only GTK) */ CONTENT_THEME = 0x20, + /** Javascript */ + CONTENT_JS = 0x40, + /** All script types. */ + CONTENT_SCRIPT = 0x40, + + /** Any content matches */ CONTENT_ANY = 0x3f } content_type; -- cgit v1.2.3