Bug 131518

Summary: [Cocoa] Notify the form delegate when the custom button in the form accessory view is tapped
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: mitz
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Add -_webView:accessoryViewCustomButtonTappedInFormInputSession: and call it thorton: review+

Description mitz 2014-04-10 17:44:40 PDT
[Cocoa] Notify the form delegate when the custom button in the form accessory view is tapped
Comment 1 mitz 2014-04-10 17:46:10 PDT
Created attachment 229093 [details]
Add -_webView:accessoryViewCustomButtonTappedInFormInputSession: and call it
Comment 2 Tim Horton 2014-04-10 17:48:21 PDT
Comment on attachment 229093 [details]
Add -_webView:accessoryViewCustomButtonTappedInFormInputSession: and call it

View in context: https://bugs.webkit.org/attachment.cgi?id=229093&action=review

> Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:1375
> +    if ([formDelegate respondsToSelector:@selector(_webView:accessoryViewCustomButtonTappedInFormInputSession:)]) {

no braces
Comment 3 mitz 2014-04-10 17:53:43 PDT
Committed <http://trac.webkit.org/r167100>.