Currently, CallbackBase subclasses call result functions with C API objects as arguments.
This causes very roundabout code in cases where we provide the results to Objective C or Gtk APIs - we first create C API objects, and then unwrap them.
Created attachment 224598 [details]
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Created attachment 224599 [details]
Comment on attachment 224599 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=224599&action=review
> + typedef std::function<void(bool, const WebCore::IntPoint&, uint32_t, uint32_t, uint32_t)> CallbackFunction;
Missing space between void and (