From 4856a4c1fba73c5ae20723cc1e5f93f5b0bfbefc Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 29 Nov 2011 17:47:29 +0000 Subject: Pass scroll wheel action into contents. Handle scrolling of box scrollbars and iframes. svn path=/trunk/netsurf/; revision=13200 --- content/content_protected.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'content/content_protected.h') 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); -- cgit v1.2.3