diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-04 10:47:34 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-08-04 11:22:40 +0100 |
commit | 19052001541aeac269b846d2a81e7f78e7c26c2d (patch) | |
tree | cc4ff33954ed03d166e5d0eb1f9b18eec2dde462 /frontends/riscos | |
parent | 3bd7a2ddd6fc84127625a7fce43dfc9e215a6d7f (diff) | |
download | netsurf-19052001541aeac269b846d2a81e7f78e7c26c2d.tar.gz netsurf-19052001541aeac269b846d2a81e7f78e7c26c2d.tar.bz2 |
Add content handlers for queries
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'frontends/riscos')
-rw-r--r-- | frontends/riscos/gui/url_bar.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/frontends/riscos/gui/url_bar.c b/frontends/riscos/gui/url_bar.c index ee5c689df..6fb3b2a2a 100644 --- a/frontends/riscos/gui/url_bar.c +++ b/frontends/riscos/gui/url_bar.c @@ -1327,6 +1327,16 @@ static nserror ro_gui_url_bar_res_cb(hlcache_handle *handle, r->height = content_get_height(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); + return NSERROR_OK; + + case CONTENT_MSG_QUERY_FINISHED: + /** \todo QUERY - Decide what is right here */ + return NSERROR_OK; + default: break; } |