<!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>[164681] 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/164681">164681</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2014-02-25 16:38:27 -0800 (Tue, 25 Feb 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add WKVisitedLinkProvider
https://bugs.webkit.org/show_bug.cgi?id=129343

Reviewed by Sam Weinig.

* UIProcess/API/Cocoa/WKVisitedLinkProvider.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
* UIProcess/API/Cocoa/WKVisitedLinkProvider.mm: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
* UIProcess/API/Cocoa/WKVisitedLinkProviderInternal.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
* UIProcess/API/Cocoa/WKVisitedLinkProviderPrivate.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView initWithFrame:configuration:]):
* UIProcess/API/Cocoa/WKWebViewConfiguration.h:
* UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration visitedLinkProvider]):
(-[WKWebViewConfiguration setVisitedLinkProvider:]):
* WebKit2.xcodeproj/project.pbxproj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProviderh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProvidermm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProviderInternalh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderInternal.h</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProviderPrivateh">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderPrivate.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (164680 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-02-26 00:12:01 UTC (rev 164680)
+++ trunk/Source/WebKit2/ChangeLog        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -1,5 +1,24 @@
</span><span class="cx"> 2014-02-25  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Add WKVisitedLinkProvider
+        https://bugs.webkit.org/show_bug.cgi?id=129343
+
+        Reviewed by Sam Weinig.
+
+        * UIProcess/API/Cocoa/WKVisitedLinkProvider.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
+        * UIProcess/API/Cocoa/WKVisitedLinkProvider.mm: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
+        * UIProcess/API/Cocoa/WKVisitedLinkProviderInternal.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
+        * UIProcess/API/Cocoa/WKVisitedLinkProviderPrivate.h: Copied from Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h.
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView initWithFrame:configuration:]):
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.h:
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
+        (-[WKWebViewConfiguration visitedLinkProvider]):
+        (-[WKWebViewConfiguration setVisitedLinkProvider:]):
+        * WebKit2.xcodeproj/project.pbxproj:
+
+2014-02-25  Anders Carlsson  &lt;andersca@apple.com&gt;
+
</ins><span class="cx">         Simplify visited link style invalidation
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=129340
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProviderhfromrev164678trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.h (from rev 164678, trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h) (0 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.h                                (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.h        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+/*
+ * Copyright (C) 2014 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;Foundation/Foundation.h&gt;
+#import &lt;WebKit2/WKFoundation.h&gt;
+
+#if WK_API_ENABLED
+
+WK_API_CLASS
+@interface WKVisitedLinkProvider : NSObject
+
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProvidermmfromrev164678trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.mm (from rev 164678, trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h) (0 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.mm                                (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProvider.mm        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2014 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;WKVisitedLinkProviderInternal.h&quot;
+
+#if WK_API_ENABLED
+
+@implementation WKVisitedLinkProvider
+
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProviderInternalhfromrev164678trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderInternal.h (from rev 164678, trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h) (0 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderInternal.h                                (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderInternal.h        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2014 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;WKVisitedLinkProviderPrivate.h&quot;
+
+#if WK_API_ENABLED
+
+@interface WKVisitedLinkProvider ()
+
+@end
+
+#endif
+
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKVisitedLinkProviderPrivatehfromrev164678trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderPrivate.h (from rev 164678, trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h) (0 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderPrivate.h                                (rev 0)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKVisitedLinkProviderPrivate.h        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+/*
+ * Copyright (C) 2014 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/WKVisitedLinkProvider.h&gt;
+
+#if WK_API_ENABLED
+
+@interface WKVisitedLinkProvider (WKPrivate)
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm (164680 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2014-02-26 00:12:01 UTC (rev 164680)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -46,6 +46,7 @@
</span><span class="cx"> #import &quot;WKRemoteObjectRegistryInternal.h&quot;
</span><span class="cx"> #import &quot;WKUIDelegate.h&quot;
</span><span class="cx"> #import &quot;WKWebViewConfigurationPrivate.h&quot;
</span><ins>+#import &quot;WKVisitedLinkProvider.h&quot;
</ins><span class="cx"> #import &quot;WebCertificateInfo.h&quot;
</span><span class="cx"> #import &quot;WebContext.h&quot;
</span><span class="cx"> #import &quot;WebBackForwardList.h&quot;
</span><span class="lines">@@ -122,6 +123,9 @@
</span><span class="cx">     if (![_configuration preferences])
</span><span class="cx">         [_configuration setPreferences:adoptNS([[WKPreferences alloc] init]).get()];
</span><span class="cx"> 
</span><ins>+    if (![_configuration visitedLinkProvider])
+        [_configuration setVisitedLinkProvider:adoptNS([[WKVisitedLinkProvider alloc] init]).get()];
+
</ins><span class="cx">     CGRect bounds = self.bounds;
</span><span class="cx"> 
</span><span class="cx">     WebKit::WebContext&amp; context = *[_configuration processPool]-&gt;_context;
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h (164680 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h        2014-02-26 00:12:01 UTC (rev 164680)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.h        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> 
</span><span class="cx"> @class WKPreferences;
</span><span class="cx"> @class WKProcessPool;
</span><ins>+@class WKVisitedLinkProvider;
</ins><span class="cx"> 
</span><span class="cx"> /*! A @link WKWebViewConfiguration @/link is a collection of properties used to initialize a web
</span><span class="cx">         view.
</span><span class="lines">@@ -50,6 +51,8 @@
</span><span class="cx"> 
</span><span class="cx"> @property (nonatomic, strong) WKPreferences *preferences;
</span><span class="cx"> 
</span><ins>+@property (nonatomic, strong) WKVisitedLinkProvider *visitedLinkProvider;
+
</ins><span class="cx"> @end
</span><span class="cx"> 
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKWebViewConfigurationmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm (164680 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm        2014-02-26 00:12:01 UTC (rev 164680)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> @implementation WKWebViewConfiguration {
</span><span class="cx">     RetainPtr&lt;WKProcessPool&gt; _processPool;
</span><span class="cx">     RetainPtr&lt;WKPreferences&gt; _preferences;
</span><ins>+    RetainPtr&lt;WKVisitedLinkProvider&gt; _visitedLinkProvider;
</ins><span class="cx">     WebKit::WeakObjCPtr&lt;WKWebView&gt; _relatedWebView;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -73,6 +74,16 @@
</span><span class="cx">     _preferences = preferences;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+- (WKVisitedLinkProvider *)visitedLinkProvider
+{
+    return _visitedLinkProvider.get();
+}
+
+- (void)setVisitedLinkProvider:(WKVisitedLinkProvider *)visitedLinkProvider
+{
+    _visitedLinkProvider = visitedLinkProvider;
+}
+
</ins><span class="cx"> - (WKWebView *)_relatedWebView
</span><span class="cx"> {
</span><span class="cx">     return _relatedWebView.getAutoreleased();
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (164680 => 164681)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2014-02-26 00:12:01 UTC (rev 164680)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2014-02-26 00:38:27 UTC (rev 164681)
</span><span class="lines">@@ -240,6 +240,10 @@
</span><span class="cx">                 1A7865BA16CAC71500ACE83A /* PluginProcessConnectionManagerMessages.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A7865B816CAC71500ACE83A /* PluginProcessConnectionManagerMessages.h */; };
</span><span class="cx">                 1A7C6CDA1378950800B9C04D /* EnvironmentVariables.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A7C6CD81378950800B9C04D /* EnvironmentVariables.cpp */; };
</span><span class="cx">                 1A7C6CDB1378950800B9C04D /* EnvironmentVariables.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A7C6CD91378950800B9C04D /* EnvironmentVariables.h */; };
</span><ins>+                1A81B38018BD66AD0007FDAC /* WKVisitedLinkProvider.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1A81B37E18BD66AD0007FDAC /* WKVisitedLinkProvider.mm */; };
+                1A81B38118BD66AD0007FDAC /* WKVisitedLinkProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A81B37F18BD66AD0007FDAC /* WKVisitedLinkProvider.h */; settings = {ATTRIBUTES = (Public, ); }; };
+                1A81B38318BD66FA0007FDAC /* WKVisitedLinkProviderPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A81B38218BD66FA0007FDAC /* WKVisitedLinkProviderPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                1A81B38518BD673A0007FDAC /* WKVisitedLinkProviderInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A81B38418BD673A0007FDAC /* WKVisitedLinkProviderInternal.h */; };
</ins><span class="cx">                 1A8C728C1738477C000A6554 /* LocalStorageDatabaseTracker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A8C728A1738477C000A6554 /* LocalStorageDatabaseTracker.cpp */; };
</span><span class="cx">                 1A8C728D1738477C000A6554 /* LocalStorageDatabaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A8C728B1738477C000A6554 /* LocalStorageDatabaseTracker.h */; };
</span><span class="cx">                 1A8EF4CB1252403700F7067F /* PluginControllerProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A8EF4C91252403700F7067F /* PluginControllerProxy.h */; };
</span><span class="lines">@@ -1932,6 +1936,10 @@
</span><span class="cx">                 1A7865B816CAC71500ACE83A /* PluginProcessConnectionManagerMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginProcessConnectionManagerMessages.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A7C6CD81378950800B9C04D /* EnvironmentVariables.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EnvironmentVariables.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A7C6CD91378950800B9C04D /* EnvironmentVariables.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EnvironmentVariables.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                1A81B37E18BD66AD0007FDAC /* WKVisitedLinkProvider.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKVisitedLinkProvider.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1A81B37F18BD66AD0007FDAC /* WKVisitedLinkProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKVisitedLinkProvider.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1A81B38218BD66FA0007FDAC /* WKVisitedLinkProviderPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKVisitedLinkProviderPrivate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                1A81B38418BD673A0007FDAC /* WKVisitedLinkProviderInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKVisitedLinkProviderInternal.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 1A8C728A1738477C000A6554 /* LocalStorageDatabaseTracker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LocalStorageDatabaseTracker.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A8C728B1738477C000A6554 /* LocalStorageDatabaseTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LocalStorageDatabaseTracker.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1A8EF4C91252403700F7067F /* PluginControllerProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PluginControllerProxy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -4451,6 +4459,10 @@
</span><span class="cx">                                 1A3CC16818907EB0001E6ED8 /* WKProcessPoolInternal.h */,
</span><span class="cx">                                 1AD8790918B6C38A006CAFD7 /* WKUIDelegate.h */,
</span><span class="cx">                                 3743925718BC4C60001C8675 /* WKUIDelegatePrivate.h */,
</span><ins>+                                1A81B37F18BD66AD0007FDAC /* WKVisitedLinkProvider.h */,
+                                1A81B37E18BD66AD0007FDAC /* WKVisitedLinkProvider.mm */,
+                                1A81B38418BD673A0007FDAC /* WKVisitedLinkProviderInternal.h */,
+                                1A81B38218BD66FA0007FDAC /* WKVisitedLinkProviderPrivate.h */,
</ins><span class="cx">                                 1A3CC16518906ACF001E6ED8 /* WKWebView.h */,
</span><span class="cx">                                 1A3CC16418906ACF001E6ED8 /* WKWebView.mm */,
</span><span class="cx">                                 1ADF59191890528E0043C145 /* WKWebViewConfiguration.h */,
</span><span class="lines">@@ -6697,6 +6709,7 @@
</span><span class="cx">                                 75A8D2D7187D303A00C39C9E /* WKSessionRef.h in Headers */,
</span><span class="cx">                                 BC032D8D10F437A00058C15A /* WebFrame.h in Headers */,
</span><span class="cx">                                 BCE469771214F27B000B98EB /* WebFrameListenerProxy.h in Headers */,
</span><ins>+                                1A81B38318BD66FA0007FDAC /* WKVisitedLinkProviderPrivate.h in Headers */,
</ins><span class="cx">                                 BC032D7F10F4378D0058C15A /* WebFrameLoaderClient.h in Headers */,
</span><span class="cx">                                 9391F2CB121B67AD00EBF7E8 /* WebFrameNetworkingContext.h in Headers */,
</span><span class="cx">                                 BCB9F6A01123A84B00A137E0 /* WebFramePolicyListenerProxy.h in Headers */,
</span><span class="lines">@@ -6728,11 +6741,13 @@
</span><span class="cx">                                 1C8E2A361277852400BC7BD0 /* WebInspectorMessages.h in Headers */,
</span><span class="cx">                                 1C8E28341275D73800BC7BD0 /* WebInspectorProxy.h in Headers */,
</span><span class="cx">                                 1CA8B946127C882A00576C2B /* WebInspectorProxyMessages.h in Headers */,
</span><ins>+                                1A81B38118BD66AD0007FDAC /* WKVisitedLinkProvider.h in Headers */,
</ins><span class="cx">                                 51032F1E180F791700961BB7 /* DatabaseToWebProcessConnectionMessages.h in Headers */,
</span><span class="cx">                                 51A9E1061315CCFC009E7031 /* WebKeyValueStorageManager.h in Headers */,
</span><span class="cx">                                 373D122718A473F60066D9CC /* WKFrameHandleInternal.h in Headers */,
</span><span class="cx">                                 1AE00D611831792100087DD7 /* FrameLoadState.h in Headers */,
</span><span class="cx">                                 BCB63478116BF10600603215 /* WebKit2_C.h in Headers */,
</span><ins>+                                1A81B38518BD673A0007FDAC /* WKVisitedLinkProviderInternal.h in Headers */,
</ins><span class="cx">                                 BC9BA5051697C45300E44616 /* WebKit2Initialize.h in Headers */,
</span><span class="cx">                                 33D3A3C2133960B000709BE4 /* WebMediaCacheManager.h in Headers */,
</span><span class="cx">                                 2D125C5E1857EA05003BA3CB /* ViewGestureController.h in Headers */,
</span><span class="lines">@@ -8268,6 +8283,7 @@
</span><span class="cx">                                 7CF47FFE17276AE3008ACB91 /* WKBundlePageBannerMac.mm in Sources */,
</span><span class="cx">                                 BC7B633E12A45D1200D174A4 /* WKBundlePageGroup.cpp in Sources */,
</span><span class="cx">                                 EDCA71B7128DDA8C00201B26 /* WKBundlePageOverlay.cpp in Sources */,
</span><ins>+                                1A81B38018BD66AD0007FDAC /* WKVisitedLinkProvider.mm in Sources */,
</ins><span class="cx">                                 BC60C57A1240A546008C5E29 /* WKBundleRangeHandle.cpp in Sources */,
</span><span class="cx">                                 BC14DF9E120B635F00826C0C /* WKBundleScriptWorld.cpp in Sources */,
</span><span class="cx">                                 BC4075F5124FF0270068F20A /* WKCertificateInfo.cpp in Sources */,
</span></span></pre>
</div>
</div>

</body>
</html>