diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-01 21:49:57 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-12-01 21:49:57 +0000 |
commit | 02780e1f2d557390442abf26fd02ed0d01c3f334 (patch) | |
tree | 7526b4d6e67ea17ed3f8f1e9fecb5bf9a8147cc9 /content/content.c | |
parent | 70c8d9485849451d666ef108cc6f1d7e287519b8 (diff) | |
download | netsurf-02780e1f2d557390442abf26fd02ed0d01c3f334.tar.gz netsurf-02780e1f2d557390442abf26fd02ed0d01c3f334.tar.bz2 |
Currently untested (and unused) "drop file on content" handling, and HTML implementation.
svn path=/trunk/netsurf/; revision=13214
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c index a4f36e2f6..3df71b83f 100644 --- a/content/content.c +++ b/content/content.c @@ -746,6 +746,19 @@ bool content_scroll_at_point(struct hlcache_handle *h, } +bool content_drop_file_at_point(struct hlcache_handle *h, + int x, int y, char *file) +{ + struct content *c = hlcache_handle_get_content(h); + assert(c != 0); + + if (c->handler->drop_file_at_point != NULL) + return c->handler->drop_file_at_point(c, x, y, file); + + return false; +} + + void content_add_error(struct content *c, const char *token, unsigned int line) { |