Changeset 167100 in webkit
- Timestamp:
- Apr 10, 2014, 5:53:06 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r167099 r167100 1 2014-04-10 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Notify the form delegate when the custom button in the form accessory view is tapped 4 https://bugs.webkit.org/show_bug.cgi?id=131518 5 6 Reviewed by Tim Horton. 7 8 * UIProcess/API/Cocoa/_WKFormDelegate.h: Declared new delegate method. 9 * UIProcess/ios/WKContentViewInteraction.mm: 10 (-[WKContentView accessoryAutoFill]): Call the new delegate method. 11 1 12 2014-04-10 Commit Queue <commit-queue@webkit.org> 2 13 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/_WKFormDelegate.h
r166933 r167100 39 39 - (void)_webView:(WKWebView *)webView didStartInputSession:(id <_WKFormInputSession>)inputSession; 40 40 41 #if TARGET_OS_IPHONE 42 - (void)_webView:(WKWebView *)webView accessoryViewCustomButtonTappedInFormInputSession:(id <_WKFormInputSession>)inputSession; 43 #endif 44 41 45 @end 42 46 -
trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm
r167096 r167100 1382 1382 - (void)accessoryAutoFill 1383 1383 { 1384 id <_WKFormDelegate> formDelegate = [_webView _formDelegate]; 1385 if ([formDelegate respondsToSelector:@selector(_webView:accessoryViewCustomButtonTappedInFormInputSession:)]) 1386 [formDelegate _webView:_webView accessoryViewCustomButtonTappedInFormInputSession:_formInputSession.get()]; 1384 1387 } 1385 1388
Note:
See TracChangeset
for help on using the changeset viewer.