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] proposed patch
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] proposed patch
Comment on attachment 224599 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=224599&action=review > Source/WebKit2/UIProcess/WebPageProxy.h:233 > + typedef std::function<void(bool, const WebCore::IntPoint&, uint32_t, uint32_t, uint32_t)> CallbackFunction; Missing space between void and (
Committed <http://trac.webkit.org/r164409>.