summaryrefslogtreecommitdiff
path: root/content/handlers/css
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-04 10:47:34 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-04 11:22:40 +0100
commit19052001541aeac269b846d2a81e7f78e7c26c2d (patch)
treecc4ff33954ed03d166e5d0eb1f9b18eec2dde462 /content/handlers/css
parent3bd7a2ddd6fc84127625a7fce43dfc9e215a6d7f (diff)
downloadnetsurf-19052001541aeac269b846d2a81e7f78e7c26c2d.tar.gz
netsurf-19052001541aeac269b846d2a81e7f78e7c26c2d.tar.bz2
Add content handlers for queries
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/css')
-rw-r--r--content/handlers/css/css.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/handlers/css/css.c b/content/handlers/css/css.c
index 0dcbe9907..3e00879f3 100644
--- a/content/handlers/css/css.c
+++ b/content/handlers/css/css.c
@@ -642,7 +642,14 @@ nserror nscss_import(hlcache_handle *handle,
error = nscss_import_complete(ctx);
/* Already released handle */
break;
-
+ case CONTENT_MSG_QUERY:
+ /** \todo QUERY - Decide what is right here */
+ /* For now, the only safe decision is to cancel the fetch */
+ event->data.query_msg->cb(false, event->data.query_msg->cb_pw);
+ break;
+ case CONTENT_MSG_QUERY_FINISHED:
+ /** \todo QUERY - Decide what is right here */
+ break;
default:
break;
}