<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[180162] trunk/Source/WebKit2</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/180162">180162</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2015-02-16 11:38:08 -0800 (Mon, 16 Feb 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add nullability qualifiers to all API headers
https://bugs.webkit.org/show_bug.cgi?id=141652
rdar://problem/19793630

Reviewed by Dan Bernstein.

* Shared/API/Cocoa/WKFoundation.h:
Add a WK_NULLABLE_SPECIFIER macro.

* UIProcess/API/Cocoa/WKBackForwardListItem.h:
* UIProcess/API/Cocoa/WKFrameInfo.h:
* UIProcess/API/Cocoa/WKNavigationAction.h:
* UIProcess/API/Cocoa/WKNavigationDelegate.h:
* UIProcess/API/Cocoa/WKNavigationResponse.h:
* UIProcess/API/Cocoa/WKScriptMessage.h:
* UIProcess/API/Cocoa/WKScriptMessageHandler.h:
* UIProcess/API/Cocoa/WKUIDelegate.h:
* UIProcess/API/Cocoa/WKUserContentController.h:
* UIProcess/API/Cocoa/WKUserScript.h:
* UIProcess/API/Cocoa/WKWebView.h:
* UIProcess/API/Cocoa/WKWebViewConfiguration.h:
* UIProcess/API/Cocoa/WKWindowFeatures.h:

* mac/postprocess-framework-headers.sh:
Handle the WK_NULLABLE_SPECIFIER macro. Change the WK_NULLABLE sed command to replace
all occurrences of WK_NULLABLE instead of just the first one.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2SharedAPICocoaWKFoundationh">trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKBackForwardListItemh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKFrameInfoh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKNavigationActionh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKNavigationDelegateh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKNavigationResponseh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKScriptMessageh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKScriptMessageHandlerh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKUIDelegateh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegate.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKUserContentControllerh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKUserScripth">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWindowFeaturesh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h</a></li>
<li><a href="#trunkSourceWebKit2macpostprocessframeworkheaderssh">trunk/Source/WebKit2/mac/postprocess-framework-headers.sh</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/ChangeLog        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -1,3 +1,32 @@
</span><ins>+2015-02-16  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Add nullability qualifiers to all API headers
+        https://bugs.webkit.org/show_bug.cgi?id=141652
+        rdar://problem/19793630
+
+        Reviewed by Dan Bernstein.
+
+        * Shared/API/Cocoa/WKFoundation.h:
+        Add a WK_NULLABLE_SPECIFIER macro.
+
+        * UIProcess/API/Cocoa/WKBackForwardListItem.h:
+        * UIProcess/API/Cocoa/WKFrameInfo.h:
+        * UIProcess/API/Cocoa/WKNavigationAction.h:
+        * UIProcess/API/Cocoa/WKNavigationDelegate.h:
+        * UIProcess/API/Cocoa/WKNavigationResponse.h:
+        * UIProcess/API/Cocoa/WKScriptMessage.h:
+        * UIProcess/API/Cocoa/WKScriptMessageHandler.h:
+        * UIProcess/API/Cocoa/WKUIDelegate.h:
+        * UIProcess/API/Cocoa/WKUserContentController.h:
+        * UIProcess/API/Cocoa/WKUserScript.h:
+        * UIProcess/API/Cocoa/WKWebView.h:
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.h:
+        * UIProcess/API/Cocoa/WKWindowFeatures.h:
+
+        * mac/postprocess-framework-headers.sh:
+        Handle the WK_NULLABLE_SPECIFIER macro. Change the WK_NULLABLE sed command to replace
+        all occurrences of WK_NULLABLE instead of just the first one.
+
</ins><span class="cx"> 2015-02-16  Dan Bernstein  &lt;mitz@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Update SPI availability annotations 
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPICocoaWKFoundationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -88,10 +88,12 @@
</span><span class="cx"> #if !__has_attribute(noescape)
</span><span class="cx"> #define WK_NULLABLE
</span><span class="cx"> #define WK_NULL_UNSPECIFIED
</span><ins>+#define WK_NULLABLE_SPECIFIER
</ins><span class="cx"> #define WK_NULLABLE_PROPERTY
</span><span class="cx"> #else
</span><span class="cx"> #define WK_NULLABLE nullable
</span><span class="cx"> #define WK_NULL_UNSPECIFIED null_unspecified
</span><ins>+#define WK_NULLABLE_SPECIFIER __nullable
</ins><span class="cx"> #define WK_NULLABLE_PROPERTY nullable,
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKBackForwardListItemh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -31,6 +31,8 @@
</span><span class="cx"> 
</span><span class="cx"> /*! A WKBackForwardListItem object represents a webpage in the back-forward list of a web view.
</span><span class="cx">  */
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKBackForwardListItem : NSObject
</span><span class="cx"> 
</span><span class="lines">@@ -40,7 +42,7 @@
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract The title of the webpage represented by this item.
</span><span class="cx">  */
</span><del>-@property (readonly, copy) NSString *title;
</del><ins>+@property (WK_NULLABLE_PROPERTY readonly, copy) NSString *title;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The URL of the initial request that created this item.
</span><span class="cx">  */
</span><span class="lines">@@ -48,4 +50,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKFrameInfoh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -34,6 +34,8 @@
</span><span class="cx">  it does not uniquely identify a frame across multiple delegate method
</span><span class="cx">  calls.
</span><span class="cx">  */
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKFrameInfo : NSObject &lt;NSCopying&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -48,4 +50,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKNavigationActionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -33,6 +33,8 @@
</span><span class="cx"> #import &lt;AppKit/AppKit.h&gt;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKFrameInfo;
</span><span class="cx"> 
</span><span class="cx"> /*! @enum WKNavigationType
</span><span class="lines">@@ -65,7 +67,7 @@
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract The target frame, or nil if this is a new window navigation.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly, copy) WKFrameInfo *targetFrame;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly, copy) WKFrameInfo *targetFrame;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The type of action that triggered the navigation.
</span><span class="cx">  @discussion The value is one of the constants of the enumerated type WKNavigationType.
</span><span class="lines">@@ -90,4 +92,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKNavigationDelegateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKNavigation;
</span><span class="cx"> @class WKNavigationAction;
</span><span class="cx"> @class WKNavigationResponse;
</span><span class="lines">@@ -88,14 +90,14 @@
</span><span class="cx">  @param webView The web view invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(WKNavigation *)navigation;
</del><ins>+- (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(WK_NULL_UNSPECIFIED WKNavigation *)navigation;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Invoked when a server redirect is received for the main
</span><span class="cx">  frame.
</span><span class="cx">  @param webView The web view invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didReceiveServerRedirectForProvisionalNavigation:(WKNavigation *)navigation;
</del><ins>+- (void)webView:(WKWebView *)webView didReceiveServerRedirectForProvisionalNavigation:(WK_NULL_UNSPECIFIED WKNavigation *)navigation;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Invoked when an error occurs while starting to load data for
</span><span class="cx">  the main frame.
</span><span class="lines">@@ -103,19 +105,19 @@
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  @param error The error that occurred.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(NSError *)error;
</del><ins>+- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WK_NULL_UNSPECIFIED WKNavigation *)navigation withError:(NSError *)error;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Invoked when content starts arriving for the main frame.
</span><span class="cx">  @param webView The web view invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation;
</del><ins>+- (void)webView:(WKWebView *)webView didCommitNavigation:(WK_NULL_UNSPECIFIED WKNavigation *)navigation;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Invoked when a main frame navigation completes.
</span><span class="cx">  @param webView The web view invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation;
</del><ins>+- (void)webView:(WKWebView *)webView didFinishNavigation:(WK_NULL_UNSPECIFIED WKNavigation *)navigation;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Invoked when an error occurs during a committed main frame
</span><span class="cx">  navigation.
</span><span class="lines">@@ -123,7 +125,7 @@
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  @param error The error that occurred.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error;
</del><ins>+- (void)webView:(WKWebView *)webView didFailNavigation:(WK_NULL_UNSPECIFIED WKNavigation *)navigation withError:(NSError *)error;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Invoked when the web view needs to respond to an authentication challenge.
</span><span class="cx">  @param webView The web view that received the authentication challenge.
</span><span class="lines">@@ -135,8 +137,10 @@
</span><span class="cx">  credential.
</span><span class="cx">  @discussion If you do not implement this method, the web view will respond to the authentication challenge with the NSURLSessionAuthChallengeRejectProtectionSpace disposition.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler;
</del><ins>+- (void)webView:(WKWebView *)webView didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, WK_NULLABLE_SPECIFIER NSURLCredential *credential))completionHandler;
</ins><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKNavigationResponseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKFrameInfo;
</span><span class="cx"> 
</span><span class="cx"> /*! Contains information about a navigation response, used for making policy decisions.
</span><span class="lines">@@ -51,4 +53,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKScriptMessageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKFrameInfo;
</span><span class="cx"> @class WKWebView;
</span><span class="cx"> 
</span><span class="lines">@@ -45,7 +47,7 @@
</span><span class="cx"> @property (nonatomic, readonly, copy) id body;
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract The web view sending the message. */
</span><del>-@property (nonatomic, readonly, weak) WKWebView *webView;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly, weak) WKWebView *webView;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The frame sending the message. */
</span><span class="cx"> @property (nonatomic, readonly, copy) WKFrameInfo *frameInfo;
</span><span class="lines">@@ -56,4 +58,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKScriptMessageHandlerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKScriptMessage;
</span><span class="cx"> @class WKUserContentController;
</span><span class="cx"> 
</span><span class="lines">@@ -48,4 +50,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKUIDelegateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegate.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegate.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegate.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKFrameInfo;
</span><span class="cx"> @class WKNavigationAction;
</span><span class="cx"> @class WKWebViewConfiguration;
</span><span class="lines">@@ -53,7 +55,7 @@
</span><span class="cx"> 
</span><span class="cx">  If you do not implement this method, the web view will cancel the navigation.
</span><span class="cx">  */
</span><del>-- (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures;
</del><ins>+- (WK_NULLABLE WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Displays a JavaScript alert panel.
</span><span class="cx">  @param webView The web view invoking the delegate method.
</span><span class="lines">@@ -103,8 +105,10 @@
</span><span class="cx"> 
</span><span class="cx">  If you do not implement this method, the web view will behave as if the user selected the Cancel button.
</span><span class="cx">  */
</span><del>-- (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(NSString *result))completionHandler;
</del><ins>+- (void)webView:(WKWebView *)webView runJavaScriptTextInputPanelWithPrompt:(NSString *)prompt defaultText:(WK_NULLABLE NSString *)defaultText initiatedByFrame:(WKFrameInfo *)frame completionHandler:(void (^)(WK_NULLABLE_SPECIFIER NSString *result))completionHandler;
</ins><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKUserContentControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKUserScript;
</span><span class="cx"> @protocol WKScriptMessageHandler;
</span><span class="cx"> 
</span><span class="lines">@@ -70,4 +72,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKUserScripth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -34,6 +34,8 @@
</span><span class="cx">  @constant WKUserScriptInjectionTimeAtDocumentStart    Inject the script after the document element has been created, but before any other content has been loaded.
</span><span class="cx">  @constant WKUserScriptInjectionTimeAtDocumentEnd      Inject the script after the document has finished loading, but before any subresources may have finished loading.
</span><span class="cx">  */
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> typedef NS_ENUM(NSInteger, WKUserScriptInjectionTime) {
</span><span class="cx">     WKUserScriptInjectionTimeAtDocumentStart,
</span><span class="cx">     WKUserScriptInjectionTimeAtDocumentEnd
</span><span class="lines">@@ -62,4 +64,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -33,6 +33,8 @@
</span><span class="cx"> #import &lt;AppKit/AppKit.h&gt;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKBackForwardList;
</span><span class="cx"> @class WKBackForwardListItem;
</span><span class="cx"> @class WKNavigation;
</span><span class="lines">@@ -59,10 +61,10 @@
</span><span class="cx"> @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract The web view's navigation delegate. */
</span><del>-@property (nonatomic, weak) id &lt;WKNavigationDelegate&gt; navigationDelegate;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, weak) id &lt;WKNavigationDelegate&gt; navigationDelegate;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The web view's user interface delegate. */
</span><del>-@property (nonatomic, weak) id &lt;WKUIDelegate&gt; UIDelegate;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, weak) id &lt;WKUIDelegate&gt; UIDelegate;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The web view's back-forward list. */
</span><span class="cx"> @property (nonatomic, readonly, strong) WKBackForwardList *backForwardList;
</span><span class="lines">@@ -87,7 +89,7 @@
</span><span class="cx">  @param request The request specifying the URL to which to navigate.
</span><span class="cx">  @result A new navigation for the given request.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)loadRequest:(NSURLRequest *)request;
</del><ins>+- (WK_NULLABLE WKNavigation *)loadRequest:(NSURLRequest *)request;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Navigates to the requested file URL on the filesystem.
</span><span class="cx">  @param URL The file URL to which to navigate.
</span><span class="lines">@@ -96,14 +98,14 @@
</span><span class="cx">  If readAccessURL references a directory, files inside that file may be loaded by WebKit.
</span><span class="cx">  @result A new navigation for the given file URL.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)loadFileURL:(NSURL *)URL allowingReadAccessToURL:(NSURL *)readAccessURL WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</del><ins>+- (WK_NULLABLE WKNavigation *)loadFileURL:(NSURL *)URL allowingReadAccessToURL:(NSURL *)readAccessURL WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Sets the webpage contents and base URL.
</span><span class="cx">  @param string The string to use as the contents of the webpage.
</span><span class="cx">  @param baseURL A URL that is used to resolve relative URLs within the document.
</span><span class="cx">  @result A new navigation.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL;
</del><ins>+- (WK_NULLABLE WKNavigation *)loadHTMLString:(NSString *)string baseURL:(WK_NULLABLE NSURL *)baseURL;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Sets the webpage contents and base URL.
</span><span class="cx">  @param data The data to use as the contents of the webpage.
</span><span class="lines">@@ -112,7 +114,7 @@
</span><span class="cx">  @param baseURL A URL that is used to resolve relative URLs within the document.
</span><span class="cx">  @result A new navigation.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)loadData:(NSData *)data MIMEType:(NSString *)MIMEType characterEncodingName:(NSString *)characterEncodingName baseURL:(NSURL *)baseURL WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</del><ins>+- (WK_NULLABLE WKNavigation *)loadData:(NSData *)data MIMEType:(NSString *)MIMEType characterEncodingName:(NSString *)characterEncodingName baseURL:(NSURL *)baseURL WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Navigates to an item from the back-forward list and sets it
</span><span class="cx">  as the current item.
</span><span class="lines">@@ -122,13 +124,13 @@
</span><span class="cx">  the current item or is not part of the web view's back-forward list.
</span><span class="cx">  @seealso backForwardList
</span><span class="cx">  */
</span><del>-- (WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item;
</del><ins>+- (WK_NULLABLE WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The page title.
</span><span class="cx">  @discussion @link WKWebView @/link is key-value observing (KVO) compliant
</span><span class="cx">  for this property.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly, copy) NSString *title;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly, copy) NSString *title;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract The active URL.
</span><span class="cx">  @discussion This is the URL that should be reflected in the user
</span><span class="lines">@@ -136,7 +138,7 @@
</span><span class="cx">  @link WKWebView @/link is key-value observing (KVO) compliant for this
</span><span class="cx">  property.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly, copy) NSURL *URL;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly, copy) NSURL *URL;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract A Boolean value indicating whether the view is currently
</span><span class="cx">  loading content.
</span><span class="lines">@@ -182,24 +184,24 @@
</span><span class="cx">  @result A new navigation to the requested item, or nil if there is no back
</span><span class="cx">  item in the back-forward list.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)goBack;
</del><ins>+- (WK_NULLABLE WKNavigation *)goBack;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Navigates to the forward item in the back-forward list.
</span><span class="cx">  @result A new navigation to the requested item, or nil if there is no
</span><span class="cx">  forward item in the back-forward list.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)goForward;
</del><ins>+- (WK_NULLABLE WKNavigation *)goForward;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Reloads the current page.
</span><span class="cx">  @result A new navigation representing the reload.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)reload;
</del><ins>+- (WK_NULLABLE WKNavigation *)reload;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Reloads the current page, performing end-to-end revalidation
</span><span class="cx">  using cache-validating conditionals if possible.
</span><span class="cx">  @result A new navigation representing the reload.
</span><span class="cx">  */
</span><del>-- (WKNavigation *)reloadFromOrigin;
</del><ins>+- (WK_NULLABLE WKNavigation *)reloadFromOrigin;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Stops loading all resources on the current page.
</span><span class="cx">  */
</span><span class="lines">@@ -210,7 +212,7 @@
</span><span class="cx">  @param completionHandler A block to invoke when script evaluation completes or fails.
</span><span class="cx">  @discussion The completionHandler is passed the result of the script evaluation or an error.
</span><span class="cx"> */
</span><del>-- (void)evaluateJavaScript:(NSString *)javaScriptString completionHandler:(void (^)(id, NSError *))completionHandler;
</del><ins>+- (void)evaluateJavaScript:(NSString *)javaScriptString completionHandler:(void (^ WK_NULLABLE_SPECIFIER)(WK_NULLABLE_SPECIFIER id, WK_NULLABLE_SPECIFIER NSError *))completionHandler;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract A Boolean value indicating whether horizontal swipe gestures
</span><span class="cx">  will trigger back-forward list navigations.
</span><span class="lines">@@ -220,7 +222,7 @@
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract The custom user agent string or nil if no custom user agent string has been set.
</span><span class="cx"> */
</span><del>-@property (nonatomic, copy) NSString *customUserAgent WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, copy) NSString *customUserAgent WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</ins><span class="cx"> 
</span><span class="cx"> #if TARGET_OS_IPHONE
</span><span class="cx"> /*! @abstract The scroll view associated with the web view.
</span><span class="lines">@@ -261,33 +263,35 @@
</span><span class="cx">  back-forward list.
</span><span class="cx">  @param sender The object that sent this message.
</span><span class="cx">  */
</span><del>-- (IBAction)goBack:(id)sender;
</del><ins>+- (IBAction)goBack:(WK_NULLABLE id)sender;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Action method that navigates to the forward item in the
</span><span class="cx">  back-forward list.
</span><span class="cx">  @param sender The object that sent this message.
</span><span class="cx">  */
</span><del>-- (IBAction)goForward:(id)sender;
</del><ins>+- (IBAction)goForward:(WK_NULLABLE id)sender;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Action method that reloads the current page.
</span><span class="cx">  @param sender The object that sent this message.
</span><span class="cx">  */
</span><del>-- (IBAction)reload:(id)sender;
</del><ins>+- (IBAction)reload:(WK_NULLABLE id)sender;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Action method that reloads the current page, performing
</span><span class="cx">  end-to-end revalidation using cache-validating conditionals if possible.
</span><span class="cx">  @param sender The object that sent this message.
</span><span class="cx">  */
</span><del>-- (IBAction)reloadFromOrigin:(id)sender;
</del><ins>+- (IBAction)reloadFromOrigin:(WK_NULLABLE id)sender;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract Action method that stops loading all resources on the current
</span><span class="cx">  page.
</span><span class="cx">  @param sender The object that sent this message.
</span><span class="cx">  */
</span><del>-- (IBAction)stopLoading:(id)sender;
</del><ins>+- (IBAction)stopLoading:(WK_NULLABLE id)sender;
</ins><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -29,6 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> @class WKPreferences;
</span><span class="cx"> @class WKProcessPool;
</span><span class="cx"> @class WKUserContentController;
</span><span class="lines">@@ -79,7 +81,7 @@
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract The name of the application as used in the user agent string.
</span><span class="cx"> */
</span><del>-@property (nonatomic, copy) NSString *applicationNameForUserAgent WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, copy) NSString *applicationNameForUserAgent WK_AVAILABLE(WK_MAC_TBA, WK_IOS_TBA);
</ins><span class="cx"> 
</span><span class="cx"> #if TARGET_OS_IPHONE
</span><span class="cx"> /*! @abstract A Boolean value indicating whether HTML5 videos play inline
</span><span class="lines">@@ -110,4 +112,6 @@
</span><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWindowFeaturesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWindowFeatures.h        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -31,41 +31,45 @@
</span><span class="cx"> 
</span><span class="cx"> /*! WKWindowFeatures specifies optional attributes for the containing window when a new WKWebView is requested.
</span><span class="cx">  */
</span><ins>+WK_ASSUME_NONNULL_BEGIN
+
</ins><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKWindowFeatures : NSObject
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract BOOL. Whether the menu bar should be visible. nil if menu bar visibility was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *menuBarVisibility;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *menuBarVisibility;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract BOOL. Whether the status bar should be visible. nil if status bar visibility was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *statusBarVisibility;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *statusBarVisibility;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract BOOL. Whether toolbars should be visible. nil if toolbar visibility was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *toolbarsVisibility;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *toolbarsVisibility;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract BOOL. Whether the containing window should be resizable. nil if resizability was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *allowsResizing;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *allowsResizing;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract CGFloat. The x coordinate of the containing window. nil if the x coordinate was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *x;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *x;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract CGFloat. The y coordinate of the containing window. nil if the y coordinate was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *y;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *y;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract CGFloat. The width coordinate of the containing window. nil if the width was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *width;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *width;
</ins><span class="cx"> 
</span><span class="cx"> /*! @abstract CGFloat. The height coordinate of the containing window. nil if the height was not specified.
</span><span class="cx">  */
</span><del>-@property (nonatomic, readonly) NSNumber *height;
</del><ins>+@property (WK_NULLABLE_PROPERTY nonatomic, readonly) NSNumber *height;
</ins><span class="cx"> 
</span><span class="cx"> @end
</span><span class="cx"> 
</span><ins>+WK_ASSUME_NONNULL_END
+
</ins><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2macpostprocessframeworkheaderssh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/mac/postprocess-framework-headers.sh (180161 => 180162)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/mac/postprocess-framework-headers.sh        2015-02-16 19:32:30 UTC (rev 180161)
+++ trunk/Source/WebKit2/mac/postprocess-framework-headers.sh        2015-02-16 19:38:08 UTC (rev 180162)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> 
</span><span class="cx">     for HEADER_PATH in $1/*.h; do
</span><span class="cx">         if [[ $HEADER_PATH -nt $TIMESTAMP_PATH ]]; then
</span><del>-            sed -e s/WK_MAC_TBA/${OSX_VERSION}/ -e s/WK_IOS_TBA/${IOS_VERSION}/ -e s/^WK_CLASS_AVAILABLE/NS_CLASS_AVAILABLE/ -e s/WK_AVAILABLE/NS_AVAILABLE/ -e s/WK_DEPRECATED/NS_DEPRECATED/ -e s/WK_DESIGNATED_INITIALIZER/NS_DESIGNATED_INITIALIZER/ -e s/WK_ENUM_AVAILABLE/NS_ENUM_AVAILABLE/ -e s/WK_UNAVAILABLE/NS_UNAVAILABLE/ -e s/WK_ASSUME_NONNULL_BEGIN/NS_ASSUME_NONNULL_BEGIN/ -e s/WK_ASSUME_NONNULL_END/NS_ASSUME_NONNULL_END/ -e s/WK_NULLABLE_PROPERTY/nullable,/ -e s/WK_NULLABLE/nullable/ -e s/WK_NULL_UNSPECIFIED/null_unspecified/ ${HEADER_PATH} &gt; ${TARGET_TEMP_DIR}/${HEADER_PATH##*/} || exit $_;
</del><ins>+            sed -e s/WK_MAC_TBA/${OSX_VERSION}/ -e s/WK_IOS_TBA/${IOS_VERSION}/ -e s/^WK_CLASS_AVAILABLE/NS_CLASS_AVAILABLE/ -e s/WK_AVAILABLE/NS_AVAILABLE/ -e s/WK_DEPRECATED/NS_DEPRECATED/ -e s/WK_DESIGNATED_INITIALIZER/NS_DESIGNATED_INITIALIZER/ -e s/WK_ENUM_AVAILABLE/NS_ENUM_AVAILABLE/ -e s/WK_UNAVAILABLE/NS_UNAVAILABLE/ -e s/WK_ASSUME_NONNULL_BEGIN/NS_ASSUME_NONNULL_BEGIN/ -e s/WK_ASSUME_NONNULL_END/NS_ASSUME_NONNULL_END/ -e s/WK_NULLABLE_PROPERTY/nullable,/ -e s/WK_NULLABLE_SPECIFIER/__nullable/g -e s/WK_NULLABLE/nullable/g -e s/WK_NULL_UNSPECIFIED/null_unspecified/ ${HEADER_PATH} &gt; ${TARGET_TEMP_DIR}/${HEADER_PATH##*/} || exit $_;
</ins><span class="cx">             mv ${TARGET_TEMP_DIR}/${HEADER_PATH##*/} $HEADER_PATH;
</span><span class="cx">         fi
</span><span class="cx">     done
</span></span></pre>
</div>
</div>

</body>
</html>