<!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>[158936] 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/158936">158936</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2013-11-08 11:49:32 -0800 (Fri, 08 Nov 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add A WKBrowsingContextHandle class
https://bugs.webkit.org/show_bug.cgi?id=124058

Reviewed by Sam Weinig.

The WKBrowsingContextHandle class represents a browsing context and can be sent across process boundaries.

* Shared/API/Cocoa/WKBrowsingContextHandle.h: Added.
* Shared/API/Cocoa/WKBrowsingContextHandle.mm: Added.
(-[WKBrowsingContextHandle _initWithPageID:]):
(-[WKBrowsingContextHandle encodeWithCoder:]):
(-[WKBrowsingContextHandle initWithCoder:]):
(+[WKBrowsingContextHandle supportsSecureCoding]):
* Shared/API/Cocoa/WKBrowsingContextHandleInternal.h: Added.
* UIProcess/API/mac/WKBrowsingContextController.mm:
(-[WKBrowsingContextController handle]):
* UIProcess/API/mac/WKBrowsingContextControllerInternal.h:
* UIProcess/API/mac/WKBrowsingContextControllerPrivate.h:
(NS_ENUM):
* WebKit2.xcodeproj/project.pbxproj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllermm">trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerInternalh">trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerPrivateh">trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2SharedAPICocoaWKBrowsingContextHandleh">trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.h</a></li>
<li><a href="#trunkSourceWebKit2SharedAPICocoaWKBrowsingContextHandlemm">trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.mm</a></li>
<li><a href="#trunkSourceWebKit2SharedAPICocoaWKBrowsingContextHandleInternalh">trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandleInternal.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (158935 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2013-11-08 19:45:41 UTC (rev 158935)
+++ trunk/Source/WebKit2/ChangeLog        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -1,5 +1,28 @@
</span><span class="cx"> 2013-11-08  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Add A WKBrowsingContextHandle class
+        https://bugs.webkit.org/show_bug.cgi?id=124058
+
+        Reviewed by Sam Weinig.
+
+        The WKBrowsingContextHandle class represents a browsing context and can be sent across process boundaries.
+
+        * Shared/API/Cocoa/WKBrowsingContextHandle.h: Added.
+        * Shared/API/Cocoa/WKBrowsingContextHandle.mm: Added.
+        (-[WKBrowsingContextHandle _initWithPageID:]):
+        (-[WKBrowsingContextHandle encodeWithCoder:]):
+        (-[WKBrowsingContextHandle initWithCoder:]):
+        (+[WKBrowsingContextHandle supportsSecureCoding]):
+        * Shared/API/Cocoa/WKBrowsingContextHandleInternal.h: Added.
+        * UIProcess/API/mac/WKBrowsingContextController.mm:
+        (-[WKBrowsingContextController handle]):
+        * UIProcess/API/mac/WKBrowsingContextControllerInternal.h:
+        * UIProcess/API/mac/WKBrowsingContextControllerPrivate.h:
+        (NS_ENUM):
+        * WebKit2.xcodeproj/project.pbxproj:
+
+2013-11-08  Anders Carlsson  &lt;andersca@apple.com&gt;
+
</ins><span class="cx">         Add WKRemoteObjectRegistry to WKConnection
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=124054
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2SharedAPICocoaWKBrowsingContextHandlehfromrev158930trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.h (from rev 158930, trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h) (0 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.h                                (rev 0)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.h        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &lt;WebKit2/WKFoundation.h&gt;
+
+#if WK_API_ENABLED
+
+WK_API_CLASS
+@interface WKBrowsingContextHandle : NSObject &lt;NSSecureCoding&gt;
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebKit2SharedAPICocoaWKBrowsingContextHandlemmfromrev158930trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.mm (from rev 158930, trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h) (0 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.mm                                (rev 0)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandle.mm        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &quot;config.h&quot;
+#import &quot;WKBrowsingContextHandleInternal.h&quot;
+
+#if WK_API_ENABLED
+
+@implementation WKBrowsingContextHandle
+
+- (id)_initWithPageID:(uint64_t)pageID
+{
+    if (!(self = [super init]))
+        return nil;
+
+    _pageID = pageID;
+
+    return self;
+}
+
+- (void)encodeWithCoder:(NSCoder *)coder
+{
+    [coder encodeInt64:_pageID forKey:@&quot;pageID&quot;];
+}
+
+- (id)initWithCoder:(NSCoder *)coder
+{
+    if (!(self = [super init]))
+        return nil;
+
+    _pageID = [coder decodeInt64ForKey:@&quot;pageID&quot;];
+
+    return self;
+}
+
++ (BOOL)supportsSecureCoding
+{
+    return YES;
+}
+
+@end
+
+#endif // WK_API_ENABLED
</ins></span></pre></div>
<a id="trunkSourceWebKit2SharedAPICocoaWKBrowsingContextHandleInternalhfromrev158930trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerInternalh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandleInternal.h (from rev 158930, trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h) (0 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandleInternal.h                                (rev 0)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKBrowsingContextHandleInternal.h        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+/*
+ * Copyright (C) 2013 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &quot;WKBrowsingContextHandle.h&quot;
+
+@interface WKBrowsingContextHandle ()
+
+@property (nonatomic, readonly, getter = _pageID) uint64_t pageID;
+
+- (id)_initWithPageID:(uint64_t)pageID;
+
+@end
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm (158935 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm        2013-11-08 19:45:41 UTC (rev 158935)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -24,8 +24,6 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #import &quot;config.h&quot;
</span><del>-#import &quot;WKBrowsingContextController.h&quot;
-#import &quot;WKBrowsingContextControllerPrivate.h&quot;
</del><span class="cx"> #import &quot;WKBrowsingContextControllerInternal.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #import &quot;ObjCObjectGraph.h&quot;
</span><span class="lines">@@ -49,6 +47,7 @@
</span><span class="cx"> #import &lt;wtf/ObjcRuntimeExtras.h&gt;
</span><span class="cx"> #import &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> 
</span><ins>+#import &quot;WKBrowsingContextHandleInternal.h&quot;
</ins><span class="cx"> #import &quot;WKBrowsingContextLoadDelegate.h&quot;
</span><span class="cx"> #import &quot;WKBrowsingContextPolicyDelegate.h&quot;
</span><span class="cx"> 
</span><span class="lines">@@ -458,6 +457,11 @@
</span><span class="cx">     return WKPageGetPageCount(self._pageRef);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (WKBrowsingContextHandle *)handle
+{
+    return [[[WKBrowsingContextHandle alloc] _initWithPageID:toImpl(self._pageRef)-&gt;pageID()] autorelease];
+}
+
</ins><span class="cx"> @end
</span><span class="cx"> 
</span><span class="cx"> @implementation WKBrowsingContextController (Internal)
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerInternalh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h (158935 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h        2013-11-08 19:45:41 UTC (rev 158935)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerInternal.h        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx">  * THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#import &lt;WebKit2/WKBrowsingContextController.h&gt;
</del><ins>+#import &quot;WKBrowsingContextControllerPrivate.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> @interface WKBrowsingContextController (Internal)
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPImacWKBrowsingContextControllerPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerPrivate.h (158935 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerPrivate.h        2013-11-08 19:45:41 UTC (rev 158935)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextControllerPrivate.h        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -26,27 +26,34 @@
</span><span class="cx"> #import &lt;WebKit2/WKBrowsingContextController.h&gt;
</span><span class="cx"> #import &lt;WebKit2/WKBase.h&gt;
</span><span class="cx"> 
</span><del>-enum {
</del><ins>+typedef NS_ENUM(NSUInteger, WKBrowsingContextPaginationMode) {
</ins><span class="cx">     WKPaginationModeUnpaginated,
</span><span class="cx">     WKPaginationModeLeftToRight,
</span><span class="cx">     WKPaginationModeRightToLeft,
</span><span class="cx">     WKPaginationModeTopToBottom,
</span><span class="cx">     WKPaginationModeBottomToTop,
</span><span class="cx"> };
</span><del>-typedef NSUInteger WKBrowsingContextPaginationMode;
</del><span class="cx"> 
</span><ins>+@class WKBrowsingContextHandle;
+
</ins><span class="cx"> @interface WKBrowsingContextController (Private)
</span><span class="cx"> 
</span><del>-@property(readonly) WKPageRef _pageRef;
</del><ins>+@property (readonly) WKPageRef _pageRef;
</ins><span class="cx"> 
</span><span class="cx"> @property WKBrowsingContextPaginationMode paginationMode;
</span><ins>+
</ins><span class="cx"> // Whether the column-break-{before,after} properties are respected instead of the
</span><span class="cx"> // page-break-{before,after} properties.
</span><span class="cx"> @property BOOL paginationBehavesLikeColumns;
</span><ins>+
</ins><span class="cx"> // Set to 0 to have the page length equal the view length.
</span><span class="cx"> @property CGFloat pageLength;
</span><span class="cx"> @property CGFloat gapBetweenPages;
</span><span class="cx"> 
</span><del>-@property(readonly) NSUInteger pageCount;
</del><ins>+@property (readonly) NSUInteger pageCount;
</ins><span class="cx"> 
</span><ins>+#if WK_API_ENABLED
+@property (nonatomic, readonly) WKBrowsingContextHandle *handle;
+#endif
+
</ins><span class="cx"> @end
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (158935 => 158936)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2013-11-08 19:45:41 UTC (rev 158935)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2013-11-08 19:49:32 UTC (rev 158936)
</span><span class="lines">@@ -266,6 +266,9 @@
</span><span class="cx">                 1AD25E96167AB08100EA9BCD /* DownloadProxyMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AD25E94167AB08100EA9BCD /* DownloadProxyMap.h */; };
</span><span class="cx">                 1AD3306E16B1D991004F60E7 /* StorageAreaImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AD3306C16B1D991004F60E7 /* StorageAreaImpl.cpp */; };
</span><span class="cx">                 1AD3306F16B1D991004F60E7 /* StorageAreaImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AD3306D16B1D991004F60E7 /* StorageAreaImpl.h */; };
</span><ins>+                1AE00D4C182D6EB000087DD7 /* WKBrowsingContextHandle.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AE00D4A182D6EB000087DD7 /* WKBrowsingContextHandle.mm */; };
+                1AE00D4D182D6EB000087DD7 /* WKBrowsingContextHandle.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE00D4B182D6EB000087DD7 /* WKBrowsingContextHandle.h */; };
+                1AE00D4F182D6F5000087DD7 /* WKBrowsingContextHandleInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE00D4E182D6F5000087DD7 /* WKBrowsingContextHandleInternal.h */; };
</ins><span class="cx">                 1AE117F611DBB30900981615 /* ProcessLauncher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE117F511DBB30900981615 /* ProcessLauncher.cpp */; };
</span><span class="cx">                 1AE4976811FF658E0048B464 /* NPJSObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AE4976611FF658E0048B464 /* NPJSObject.h */; };
</span><span class="cx">                 1AE4976911FF658E0048B464 /* NPJSObject.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AE4976711FF658E0048B464 /* NPJSObject.cpp */; };
</span><span class="lines">@@ -1750,6 +1753,9 @@
</span><span class="cx">                 1AD25E94167AB08100EA9BCD /* DownloadProxyMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DownloadProxyMap.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AD3306C16B1D991004F60E7 /* StorageAreaImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StorageAreaImpl.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AD3306D16B1D991004F60E7 /* StorageAreaImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageAreaImpl.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                1AE00D4A182D6EB000087DD7 /* WKBrowsingContextHandle.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKBrowsingContextHandle.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1AE00D4B182D6EB000087DD7 /* WKBrowsingContextHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKBrowsingContextHandle.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1AE00D4E182D6F5000087DD7 /* WKBrowsingContextHandleInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKBrowsingContextHandleInternal.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 1AE117F511DBB30900981615 /* ProcessLauncher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ProcessLauncher.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AE4976611FF658E0048B464 /* NPJSObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NPJSObject.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1AE4976711FF658E0048B464 /* NPJSObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NPJSObject.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -3729,6 +3735,9 @@
</span><span class="cx">                 37DFA6FE1810BB2D001F4A9F /* Cocoa */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><ins>+                                1AE00D4B182D6EB000087DD7 /* WKBrowsingContextHandle.h */,
+                                1AE00D4A182D6EB000087DD7 /* WKBrowsingContextHandle.mm */,
+                                1AE00D4E182D6F5000087DD7 /* WKBrowsingContextHandleInternal.h */,
</ins><span class="cx">                                 37DFA6FF1810BB92001F4A9F /* WKFoundation.h */,
</span><span class="cx">                                 1A9E32991822E1CC00F5D04C /* WKRemoteObject.h */,
</span><span class="cx">                                 1A9E32981822E1CC00F5D04C /* WKRemoteObject.mm */,
</span><span class="lines">@@ -5618,6 +5627,7 @@
</span><span class="cx">                                 E19582D3153CBFD700B60875 /* PDFKitImports.h in Headers */,
</span><span class="cx">                                 51FCB18917BBFE0300394CD8 /* SynchronousNetworkLoaderClient.h in Headers */,
</span><span class="cx">                                 BCF505E71243047B005955AE /* PlatformCertificateInfo.h in Headers */,
</span><ins>+                                1AE00D4F182D6F5000087DD7 /* WKBrowsingContextHandleInternal.h in Headers */,
</ins><span class="cx">                                 BCC43ABB127B95DC00317F16 /* PlatformPopupMenuData.h in Headers */,
</span><span class="cx">                                 BC8780FC1161C2B800CC2768 /* PlatformProcessIdentifier.h in Headers */,
</span><span class="cx">                                 1A6FB7D311E651E200DB1371 /* Plugin.h in Headers */,
</span><span class="lines">@@ -5895,6 +5905,7 @@
</span><span class="cx">                                 BC4BEFE1120A1A4C00FBA0C7 /* WKBundleNodeHandle.h in Headers */,
</span><span class="cx">                                 BC57450C1263B155006F0F12 /* WKBundleNodeHandlePrivate.h in Headers */,
</span><span class="cx">                                 BC20528111C94284008F3375 /* WKBundlePage.h in Headers */,
</span><ins>+                                1AE00D4D182D6EB000087DD7 /* WKBrowsingContextHandle.h in Headers */,
</ins><span class="cx">                                 7CF47FF717275B71008ACB91 /* WKBundlePageBanner.h in Headers */,
</span><span class="cx">                                 7CF47FFF17276AE3008ACB91 /* WKBundlePageBannerMac.h in Headers */,
</span><span class="cx">                                 BC7B633D12A45D1200D174A4 /* WKBundlePageGroup.h in Headers */,
</span><span class="lines">@@ -6761,6 +6772,7 @@
</span><span class="cx">                                 BCEE966C112FAF57006BCC24 /* Attachment.cpp in Sources */,
</span><span class="cx">                                 E1A31735134CEA80007C9A4F /* AttributedString.mm in Sources */,
</span><span class="cx">                                 512F589612A8838800629530 /* AuthenticationChallengeProxy.cpp in Sources */,
</span><ins>+                                1AE00D4C182D6EB000087DD7 /* WKBrowsingContextHandle.mm in Sources */,
</ins><span class="cx">                                 512F589812A8838800629530 /* AuthenticationDecisionListener.cpp in Sources */,
</span><span class="cx">                                 518E8EF816B2091C00E91429 /* AuthenticationManager.cpp in Sources */,
</span><span class="cx">                                 518E8EFB16B2091C00E91429 /* AuthenticationManager.mac.mm in Sources */,
</span></span></pre>
</div>
</div>

</body>
</html>