[Cocoa] Add a form delegate method corresponding to willSubmitForm
Created attachment 229422 [details] Add -_webView:willSubmitFormValues:userObject:submissionHandler:
Comment on attachment 229422 [details] Add -_webView:willSubmitFormValues:userObject:submissionHandler: View in context: https://bugs.webkit.org/attachment.cgi?id=229422&action=review Some drive-by nit comments. > Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:1192 > + class FormClient : public API::FormClient { Can we make this final? > Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm:426 > + userData = API::Data::createWithoutCopying((const unsigned char*)[data bytes], [data length], releaseNSData, data.leakRef()).leakRef(); static_cast?
Committed <http://trac.webkit.org/r167343>.