<!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>[169405] 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/169405">169405</a></dd>
<dt>Author</dt> <dd>ggaren@apple.com</dd>
<dt>Date</dt> <dd>2014-05-27 17:16:25 -0700 (Tue, 27 May 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Some proof-reading of the WebKit2 API headerdoc
https://bugs.webkit.org/show_bug.cgi?id=133328

Reviewed by Anders Carlsson.

Consistently say &quot;item&quot; to reference back-forward list items.

Consistently say &quot;webpage&quot; instead of &quot;page&quot; or &quot;web page&quot;.

Consistently say &quot;navigation&quot; instead of &quot;load&quot;.

Plus a few fix-ups for run-on sentences, mismatched verb tense, and
mismatched singular vs plural.

* UIProcess/API/Cocoa/WKBackForwardList.h:
* UIProcess/API/Cocoa/WKBackForwardListItem.h:
* UIProcess/API/Cocoa/WKBrowsingContextController.h:
* UIProcess/API/Cocoa/WKBrowsingContextGroup.h:
* UIProcess/API/Cocoa/WKFrameInfo.h:
* UIProcess/API/Cocoa/WKNavigation.h:
* UIProcess/API/Cocoa/WKNavigationAction.h:
* UIProcess/API/Cocoa/WKNavigationDelegate.h:
* UIProcess/API/Cocoa/WKProcessPool.h:
* UIProcess/API/Cocoa/WKUIDelegate.h:
* UIProcess/API/Cocoa/WKWebView.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKBackForwardListh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardList.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKBackForwardListItemh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKBrowsingContextControllerh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKBrowsingContextGrouph">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextGroup.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKFrameInfoh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKNavigationh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigation.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="#trunkSourceWebKit2UIProcessAPICocoaWKProcessPoolh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.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="#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="#trunkSourceWebKit2UIProcessAPImacWKViewmm">trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/ChangeLog        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -1,3 +1,31 @@
</span><ins>+2014-05-27  Geoffrey Garen  &lt;ggaren@apple.com&gt;
+
+        Some proof-reading of the WebKit2 API headerdoc
+        https://bugs.webkit.org/show_bug.cgi?id=133328
+
+        Reviewed by Anders Carlsson.
+
+        Consistently say &quot;item&quot; to reference back-forward list items.
+
+        Consistently say &quot;webpage&quot; instead of &quot;page&quot; or &quot;web page&quot;.
+
+        Consistently say &quot;navigation&quot; instead of &quot;load&quot;.
+
+        Plus a few fix-ups for run-on sentences, mismatched verb tense, and
+        mismatched singular vs plural.
+
+        * UIProcess/API/Cocoa/WKBackForwardList.h:
+        * UIProcess/API/Cocoa/WKBackForwardListItem.h:
+        * UIProcess/API/Cocoa/WKBrowsingContextController.h:
+        * UIProcess/API/Cocoa/WKBrowsingContextGroup.h:
+        * UIProcess/API/Cocoa/WKFrameInfo.h:
+        * UIProcess/API/Cocoa/WKNavigation.h:
+        * UIProcess/API/Cocoa/WKNavigationAction.h:
+        * UIProcess/API/Cocoa/WKNavigationDelegate.h:
+        * UIProcess/API/Cocoa/WKProcessPool.h:
+        * UIProcess/API/Cocoa/WKUIDelegate.h:
+        * UIProcess/API/Cocoa/WKWebView.h:
+
</ins><span class="cx"> 2014-05-27  Timothy Horton  &lt;timothy_horton@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [wk2] PDFPlugin snapshots are misplaced
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKBackForwardListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardList.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardList.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardList.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -47,18 +47,18 @@
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) WKBackForwardListItem *forwardItem;
</span><span class="cx"> 
</span><del>-/*! @abstract Returns an entry the given distance from the current entry.
</del><ins>+/*! @abstract Returns an item the given distance from the current item.
</ins><span class="cx">  @param index Index of the desired list item relative to the current item; 0 is current item, -1 is back item, 1 is forward item, etc.
</span><del>- @result The entry the given distance from the current entry. If index exceeds the limits of the list, nil is returned.
</del><ins>+ @result The item the given distance from the current item. If index exceeds the limits of the list, nil is returned.
</ins><span class="cx">  */
</span><span class="cx"> - (WKBackForwardListItem *)itemAtIndex:(NSInteger)index;
</span><span class="cx"> 
</span><del>-/*! @abstract Returns the portion of the list before the current entry.
</del><ins>+/*! @abstract Returns the portion of the list before the current item.
</ins><span class="cx">  @discussion The entries are in the order that they were originally visited.
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) NSArray *backList;
</span><span class="cx"> 
</span><del>-/*! @abstract Returns the portion of the list after the current entry.
</del><ins>+/*! @abstract Returns the portion of the list after the current item.
</ins><span class="cx">  @discussion The entries are in the order that they were originally visited.
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) NSArray *forwardList;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKBackForwardListItemh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBackForwardListItem.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -29,20 +29,20 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><del>-/*! A @link WKBackForwardListItem @/link represents a visited page in a WKWebView's back-forward list.
</del><ins>+/*! A @link WKBackForwardListItem @/link represents a visited webpage in a WKWebView's back-forward list.
</ins><span class="cx">  */
</span><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKBackForwardListItem : NSObject
</span><span class="cx"> 
</span><del>-/*! @abstract The URL of the page represented by this item.
</del><ins>+/*! @abstract The URL of the webpage represented by this item.
</ins><span class="cx">  */
</span><span class="cx"> @property (readonly) NSURL *URL;
</span><span class="cx"> 
</span><del>-/*! @abstract The title of the page represented by this item.
</del><ins>+/*! @abstract The title of the webpage represented by this item.
</ins><span class="cx">  */
</span><span class="cx"> @property (readonly) NSString *title;
</span><span class="cx"> 
</span><del>-/*! @abstract The URL of the navigation that created this item.
</del><ins>+/*! @abstract The URL of the initial request that created this item.
</ins><span class="cx">  */
</span><span class="cx"> @property (readonly) NSURL *initialURL;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKBrowsingContextControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextController.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -64,13 +64,13 @@
</span><span class="cx"> - (void)loadFileURL:(NSURL *)URL restrictToFilesWithin:(NSURL *)allowedDirectory;
</span><span class="cx"> - (void)loadFileURL:(NSURL *)URL restrictToFilesWithin:(NSURL *)allowedDirectory userData:(id)userData;
</span><span class="cx"> 
</span><del>-/* Load a page using the passed in string as its contents. */
</del><ins>+/* Load a webpage using the passed in string as its contents. */
</ins><span class="cx"> - (void)loadHTMLString:(NSString *)HTMLString baseURL:(NSURL *)baseURL;
</span><span class="cx"> - (void)loadHTMLString:(NSString *)HTMLString baseURL:(NSURL *)baseURL userData:(id)userData;
</span><span class="cx"> 
</span><span class="cx"> - (void)loadAlternateHTMLString:(NSString *)string baseURL:(NSURL *)baseURL forUnreachableURL:(NSURL *)unreachableURL;
</span><span class="cx"> 
</span><del>-/* Load a page using the passed in data as its contents. */
</del><ins>+/* Load a webpage using the passed in data as its contents. */
</ins><span class="cx"> - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)baseURL;
</span><span class="cx"> - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encodingName baseURL:(NSURL *)baseURL userData:(id)userData;
</span><span class="cx"> 
</span><span class="lines">@@ -88,16 +88,16 @@
</span><span class="cx"> 
</span><span class="cx"> #pragma mark Back/Forward
</span><span class="cx"> 
</span><del>-/* Go to the next page in the back/forward list. */
</del><ins>+/* Go to the next webpage in the back/forward list. */
</ins><span class="cx"> - (void)goForward;
</span><span class="cx"> 
</span><del>-/* Whether there is a next page in the back/forward list. */
</del><ins>+/* Whether there is a next webpage in the back/forward list. */
</ins><span class="cx"> @property(readonly) BOOL canGoForward;
</span><span class="cx"> 
</span><del>-/* Go to the previous page in the back/forward list. */
</del><ins>+/* Go to the previous webpage in the back/forward list. */
</ins><span class="cx"> - (void)goBack;
</span><span class="cx"> 
</span><del>-/* Whether there is a previous page in the back/forward list. */
</del><ins>+/* Whether there is a previous webpage in the back/forward list. */
</ins><span class="cx"> @property(readonly) BOOL canGoBack;
</span><span class="cx"> 
</span><span class="cx"> - (void)goToBackForwardListItem:(WKBackForwardListItem *)item;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKBrowsingContextGrouph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextGroup.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextGroup.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKBrowsingContextGroup.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> 
</span><span class="cx"> /* Settings */
</span><span class="cx"> 
</span><del>-/* Setting to control whether JavaScript referenced by a page is enabled.
</del><ins>+/* Setting to control whether JavaScript is enabled.
</ins><span class="cx">    Default: YES
</span><span class="cx"> */
</span><span class="cx"> @property BOOL allowsJavaScript;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKFrameInfoh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKFrameInfo.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -29,9 +29,9 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><del>-/*! A @link WKFrameInfo @/link object contains information about a frame on a web page.
- @discussion WKFrameInfo objects are transient data only objects, they can not be used to uniquely 
- identify a frame across multiple delegate method calls.
</del><ins>+/*! A @link WKFrameInfo @/link object contains information about a frame on a webpage.
+ @discussion WKFrameInfo objects are transient, data-only objects. A WKFrameInfo object
+ does not uniquely identify a frame across multiple delegate method calls.
</ins><span class="cx">  */
</span><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKFrameInfo : NSObject
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKNavigationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigation.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigation.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigation.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><del>-/*! WKNavigation objects are returned from  the @link WKWebView @/link load methods and are passed to the 
- @link WKNavigationDelegate @/link methods, and can be used to track page loads from start to finish.
</del><ins>+/*! WKNavigation objects are returned from the @link WKWebView @/link load methods and are passed to the 
+ @link WKNavigationDelegate @/link methods. A WKNavigation object uniquely identifies a webpage load from start to finish.
</ins><span class="cx">  */
</span><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKNavigation : NSObject
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) NSURLResponse *response;
</span><span class="cx"> 
</span><del>-/* @abstract The page load error if the page failed to load, nil otherwise.
</del><ins>+/* @abstract The error for the navigation if it failed or nil if it did not fail.
</ins><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) NSError *error;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKNavigationActionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationAction.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -40,8 +40,8 @@
</span><span class="cx">  @constant WKNavigationTypeLinkActivated    A link with an href activated by the user.
</span><span class="cx">  @constant WKNavigationTypeFormSubmitted    A form was submitted.
</span><span class="cx">  @constant WKNavigationTypeBackForward      An item from the back-forward list was requested.
</span><del>- @constant WKNavigationTypeReload           The page was reloaded.
- @constant WKNavigationTypeFormResubmitted  A form was resubmitted (for example by going back, forward or reloading).
</del><ins>+ @constant WKNavigationTypeReload           The webpage was reloaded.
+ @constant WKNavigationTypeFormResubmitted  A form was resubmitted (for example by going back or forward, or reloading).
</ins><span class="cx">  @constant WKNavigationTypeOther            Navigation is taking place for some other reason.
</span><span class="cx">  */
</span><span class="cx"> typedef NS_ENUM(NSInteger, WKNavigationType) {
</span><span class="lines">@@ -53,16 +53,16 @@
</span><span class="cx">     WKNavigationTypeOther = -1,
</span><span class="cx"> } WK_ENUM_AVAILABLE(10_10, 8_0);
</span><span class="cx"> 
</span><del>-/*! Contains information about an action that may cause a navigation, used for making policy decisions.
</del><ins>+/*! Contains information about an action that may cause a navigation. Used for making policy decisions.
</ins><span class="cx">  */
</span><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKNavigationAction : NSObject
</span><span class="cx"> 
</span><del>-/*! @abstract Represents the frame that is requesting the navigation.
</del><ins>+/*! @abstract Describes the frame that requested the navigation.
</ins><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) WKFrameInfo *sourceFrame;
</span><span class="cx"> 
</span><del>-/*! @abstract Represents the target frame. If this is a new window navigation, targetFrame will be nil.
</del><ins>+/*! @abstract Describes the target frame of the navigation. If this is a new window navigation, targetFrame will be nil.
</ins><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) WKFrameInfo *targetFrame;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKNavigationDelegateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationDelegate.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -54,8 +54,8 @@
</span><span class="cx">     WKNavigationResponsePolicyAllow,
</span><span class="cx"> } WK_ENUM_AVAILABLE(10_10, 8_0);
</span><span class="cx"> 
</span><del>-/*! A class that conforms to WKNavigationDelegate can provide methods for deciding load policy for main frame and subframe loads
- and track load progress for main frame loads.
</del><ins>+/*! A class that conforms to WKNavigationDelegate can decide policy for main frame and subframe navigations,
+ and track progress for main frame navigations.
</ins><span class="cx">  */
</span><span class="cx"> @protocol WKNavigationDelegate &lt;NSObject&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -64,18 +64,18 @@
</span><span class="cx"> /*! @abstract Decides whether a navigation should be allowed or not.
</span><span class="cx">  @param webView The WKWebView invoking the delegate method.
</span><span class="cx">  @param navigationAction A description of the action that triggered the navigation request.
</span><del>- @param decisionHandler The decision handler that should be called to allow or cancel the load.
</del><ins>+ @param decisionHandler The decision handler that should be called to allow or cancel the navigation.
</ins><span class="cx">  */
</span><span class="cx"> - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler;
</span><span class="cx"> 
</span><span class="cx"> /*! @abstract Decides whether a navigation should be allowed or cancelled once its response is known.
</span><span class="cx">  @param webView The WKWebView invoking the delegate method.
</span><span class="cx">  @param navigationResponse A description of the navigation response.
</span><del>- @param decisionHandler The decision handler that should be called to allow or cancel the load.
</del><ins>+ @param decisionHandler The decision handler that should be called to allow or cancel the navigation.
</ins><span class="cx">  */
</span><span class="cx"> - (void)webView:(WKWebView *)webView decidePolicyForNavigationResponse:(WKNavigationResponse *)navigationResponse decisionHandler:(void (^)(WKNavigationResponsePolicy))decisionHandler;
</span><span class="cx"> 
</span><del>-/*! @abstract Invoked when a main frame page load starts.
</del><ins>+/*! @abstract Invoked when a main frame navigation starts.
</ins><span class="cx">  @param webView The WKWebView invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  */
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx"> /*! @abstract Invoked if an error occurs when starting to load data for the main frame.
</span><span class="cx">  @param webView The WKWebView invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><del>- @param error Specifies the type of error that occurred during the load.
</del><ins>+ @param error Specifies the type of error that occurred during the navigation.
</ins><span class="cx">  */
</span><span class="cx"> - (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation withError:(NSError *)error;
</span><span class="cx"> 
</span><span class="lines">@@ -100,16 +100,16 @@
</span><span class="cx">  */
</span><span class="cx"> - (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation;
</span><span class="cx"> 
</span><del>-/*! @abstract Invoked when a main frame load completes.
</del><ins>+/*! @abstract Invoked when a main frame navigation completes.
</ins><span class="cx">  @param webView The WKWebView invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><span class="cx">  */
</span><span class="cx"> - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation;
</span><span class="cx"> 
</span><del>-/*! @abstract Invoked if an error occurs loading a committed main frame page load.
</del><ins>+/*! @abstract Invoked if an error occurs while loading a committed main frame navigation.
</ins><span class="cx">  @param webView The WKWebView invoking the delegate method.
</span><span class="cx">  @param navigation The navigation.
</span><del>- @param error Specifies the type of error that occurred during the load.
</del><ins>+ @param error Specifies the type of error that occurred during the navigation.
</ins><span class="cx">  */
</span><span class="cx"> - (void)webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKProcessPoolh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><span class="cx"> /*! A pool of Web Content processes.
</span><del>- A @link WKWebView @/link specifies from which pool the Web Content process backing it comes through its @link WKWebViewConfiguration @/link.
</del><ins>+ A @link WKWebView @/link specifies its process pool through its @link WKWebViewConfiguration @/link.
</ins><span class="cx">  Each WKWebView will get its own Web Content process until an implementation-defined process limit is reached; after that,
</span><span class="cx">  web views with the same process pool end up sharing Web Content processes.
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKScriptMessageh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessage.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> 
</span><span class="cx"> @class WKWebView;
</span><span class="cx"> 
</span><del>-/*! A @link WKScriptMessage @/link object contains information about a message being sent from a web page.
</del><ins>+/*! A @link WKScriptMessage @/link object contains information about a message being sent from a webpage.
</ins><span class="cx">  */
</span><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKScriptMessage : NSObject
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKScriptMessageHandlerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKScriptMessageHandler.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -32,13 +32,13 @@
</span><span class="cx"> @class WKScriptMessage;
</span><span class="cx"> @class WKUserContentController;
</span><span class="cx"> 
</span><del>-/*! A class that conforms to WKScriptMessageHandler provides a method for recieving messages from JavaScript running in a web page.
</del><ins>+/*! A class that conforms to WKScriptMessageHandler provides a method for recieving messages from JavaScript running in a webpage.
</ins><span class="cx">  */
</span><span class="cx"> @protocol WKScriptMessageHandler &lt;NSObject&gt;
</span><span class="cx"> 
</span><span class="cx"> @required
</span><span class="cx"> 
</span><del>-/*! @abstract Invoked when a script message is recieved from a web page.
</del><ins>+/*! @abstract Invoked when a script message is recieved from a webpage.
</ins><span class="cx">  @param userContentController The WKUserContentController invoking the delegate method.
</span><span class="cx">  @param message The script message being received.
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKUserScripth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserScript.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> #import &lt;Foundation/Foundation.h&gt;
</span><span class="cx"> 
</span><span class="cx"> /*! @enum WKUserScriptInjectionTime
</span><del>- @abstract when a user script should be injected into a web page.
</del><ins>+ @abstract when a user script should be injected into a webpage.
</ins><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><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx">     WKUserScriptInjectionTimeAtDocumentEnd
</span><span class="cx"> } WK_ENUM_AVAILABLE(10_10, 8_0);
</span><span class="cx"> 
</span><del>-/*! A @link WKUserScript @/link object represents a script that can be injected into web pages.
</del><ins>+/*! A @link WKUserScript @/link object represents a script that can be injected into webpages.
</ins><span class="cx">  */
</span><span class="cx"> WK_CLASS_AVAILABLE(10_10, 8_0)
</span><span class="cx"> @interface WKUserScript : NSObject &lt;NSCopying&gt;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -94,7 +94,7 @@
</span><span class="cx">  */
</span><span class="cx"> - (WKNavigation *)goToBackForwardListItem:(WKBackForwardListItem *)item;
</span><span class="cx"> 
</span><del>-/*! @abstract The page title. @link WKWebView @/link is KVO-compliant for this property.
</del><ins>+/*! @abstract The webpage title. @link WKWebView @/link is KVO-compliant for this property.
</ins><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) NSString *title;
</span><span class="cx"> 
</span><span class="lines">@@ -116,7 +116,7 @@
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) double estimatedProgress;
</span><span class="cx"> 
</span><del>-/*! @abstract Whether all of the resources on the page have been loaded over securely encrypted connections.
</del><ins>+/*! @abstract Whether all of the resources on the webpage have been loaded over securely encrypted connections.
</ins><span class="cx">  @link WKWebView @/link is KVO-compliant for this property.
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic, readonly) BOOL hasOnlySecureContent;
</span><span class="lines">@@ -171,11 +171,11 @@
</span><span class="cx">  */
</span><span class="cx"> @property (nonatomic) BOOL allowsMagnification;
</span><span class="cx"> 
</span><del>-/* @abstract The amount by which the page content is currently scaled. Defaults to 1.0.
</del><ins>+/* @abstract The amount by which the webpage content is currently scaled. Defaults to 1.0.
</ins><span class="cx">  */
</span><span class="cx"> @property (nonatomic) CGFloat magnification;
</span><span class="cx"> 
</span><del>-/* @abstract Magnify the page content by the given amount and center the result on the given point.
</del><ins>+/* @abstract Magnify the webpage content by the given amount and center the result on the given point.
</ins><span class="cx">  * @param magnification The amount by which to magnify the content.
</span><span class="cx">  * @param point The point (in view space) on which to center magnification.
</span><span class="cx">  */
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPImacWKViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (169404 => 169405)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm        2014-05-28 00:02:34 UTC (rev 169404)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm        2014-05-28 00:16:25 UTC (rev 169405)
</span><span class="lines">@@ -1700,7 +1700,7 @@
</span><span class="cx">     [self _disableComplexTextInputIfNecessary];
</span><span class="cx"> 
</span><span class="cx">     // Pass key combos through WebCore if there is a key binding available for
</span><del>-    // this event. This lets web pages have a crack at intercepting key-modified keypresses.
</del><ins>+    // this event. This lets webpages have a crack at intercepting key-modified keypresses.
</ins><span class="cx">     // FIXME: Why is the firstResponder check needed?
</span><span class="cx">     if (self == [[self window] firstResponder]) {
</span><span class="cx">         [self _interpretKeyEvent:event completionHandler:^(BOOL handledByInputMethod, const Vector&lt;KeypressCommand&gt;&amp; commands) {
</span><span class="lines">@@ -2131,7 +2131,7 @@
</span><span class="cx">     [self _disableComplexTextInputIfNecessary];
</span><span class="cx"> 
</span><span class="cx">     // Pass key combos through WebCore if there is a key binding available for
</span><del>-    // this event. This lets web pages have a crack at intercepting key-modified keypresses.
</del><ins>+    // this event. This lets webpages have a crack at intercepting key-modified keypresses.
</ins><span class="cx">     // FIXME: Why is the firstResponder check needed?
</span><span class="cx">     if (self == [[self window] firstResponder]) {
</span><span class="cx">         Vector&lt;KeypressCommand&gt; commands;
</span></span></pre>
</div>
</div>

</body>
</html>