diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-11-29 17:47:29 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-11-29 17:47:29 +0000 |
commit | 4856a4c1fba73c5ae20723cc1e5f93f5b0bfbefc (patch) | |
tree | 1cbf2adc8328e6dd9429a7437e9f3eb290b9b466 /content/content_protected.h | |
parent | 9a29f4b4fe7a0c402d61c25a234274e223c0c7d7 (diff) | |
download | netsurf-4856a4c1fba73c5ae20723cc1e5f93f5b0bfbefc.tar.gz netsurf-4856a4c1fba73c5ae20723cc1e5f93f5b0bfbefc.tar.bz2 |
Pass scroll wheel action into contents. Handle scrolling of box scrollbars and iframes.
svn path=/trunk/netsurf/; revision=13200
Diffstat (limited to 'content/content_protected.h')
-rw-r--r-- | content/content_protected.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/content_protected.h b/content/content_protected.h index 05b1940f2..54825589e 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -68,7 +68,9 @@ struct content_handler { void (*close)(struct content *c); struct selection * (*get_selection)(struct content *c); void (*get_contextual_content)(struct content *c, int x, int y, - struct contextual_content *data); + struct contextual_content *data); + bool (*scroll_at_point)(struct content *c, int x, int y, + int scrx, int scry); nserror (*clone)(const struct content *old, struct content **newc); bool (*matches_quirks)(const struct content *c, bool quirks); content_type (*type)(void); |