⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181859 in webkit


Ignore:
Timestamp:
Mar 23, 2015, 12:13:29 PM (11 years ago)
Author:
andersca@apple.com
Message:

Put the WK_NULLABLE_SPECIFIER in the right place for block parameters
https://bugs.webkit.org/show_bug.cgi?id=142975
rdar://problem/19863930

Reviewed by Dan Bernstein.

  • UIProcess/API/Cocoa/WKNavigationDelegate.h:
  • UIProcess/API/Cocoa/WKUIDelegate.h:
  • UIProcess/API/Cocoa/WKWebView.h:
Location:
trunk/Source/WebKit2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r181858 r181859  
     12015-03-23  Anders Carlsson  <andersca@apple.com>
     2
     3        Put the WK_NULLABLE_SPECIFIER in the right place for block parameters
     4        https://bugs.webkit.org/show_bug.cgi?id=142975
     5        rdar://problem/19863930
     6
     7        Reviewed by Dan Bernstein.
     8
     9        * UIProcess/API/Cocoa/WKNavigationDelegate.h:
     10        * UIProcess/API/Cocoa/WKUIDelegate.h:
     11        * UIProcess/API/Cocoa/WKWebView.h:
     12
    1132015-03-23  Tim Horton  <timothy_horton@apple.com>
    214
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h

    r180162 r181859  
    138138 @discussion If you do not implement this method, the web view will respond to the authentication challenge with the NSURLSessionAuthChallengeRejectProtectionSpace disposition.
    139139 */
    140 - (void)webView:(WKWebView *)webView didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, WK_NULLABLE_SPECIFIER NSURLCredential *credential))completionHandler;
     140- (void)webView:(WKWebView *)webView didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *WK_NULLABLE_SPECIFIER credential))completionHandler;
    141141
    142142@end
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegate.h

    r180162 r181859  
    106106 If you do not implement this method, the web view will behave as if the user selected the Cancel button.
    107107 */
    108 - (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(WK_NULLABLE NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(WK_NULLABLE_SPECIFIER NSString *result))completionHandler;
     108- (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(WK_NULLABLE NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSString * WK_NULLABLE_SPECIFIER result))completionHandler;
    109109
    110110@end
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h

    r180162 r181859  
    213213 @discussion The completionHandler is passed the result of the script evaluation or an error.
    214214*/
    215 - (void)evaluateJavaScript:(NSString *)javaScriptString completionHandler:(void (^ WK_NULLABLE_SPECIFIER)(WK_NULLABLE_SPECIFIER id, WK_NULLABLE_SPECIFIER NSError *))completionHandler;
     215- (void)evaluateJavaScript:(NSString *)javaScriptString completionHandler:(void (^ WK_NULLABLE_SPECIFIER)(WK_NULLABLE_SPECIFIER id, NSError * WK_NULLABLE_SPECIFIER error))completionHandler;
    216216
    217217/*! @abstract A Boolean value indicating whether horizontal swipe gestures
Note: See TracChangeset for help on using the changeset viewer.