Diff
Modified: trunk/Source/WebKit2/ChangeLog (164750 => 164751)
--- trunk/Source/WebKit2/ChangeLog 2014-02-26 22:30:21 UTC (rev 164750)
+++ trunk/Source/WebKit2/ChangeLog 2014-02-26 23:01:15 UTC (rev 164751)
@@ -1,3 +1,21 @@
+2014-02-26 Anders Carlsson <ander...@apple.com>
+
+ Rename WebVisitedLinkProvider to VisitedLinkTableController
+ https://bugs.webkit.org/show_bug.cgi?id=129396
+
+ Reviewed by Dan Bernstein.
+
+ * WebKit2.xcodeproj/project.pbxproj:
+ * WebProcess/WebPage/VisitedLinkTableController.cpp: Renamed from Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.cpp.
+ (WebKit::VisitedLinkTableController::create):
+ (WebKit::VisitedLinkTableController::VisitedLinkTableController):
+ (WebKit::VisitedLinkTableController::~VisitedLinkTableController):
+ (WebKit::VisitedLinkTableController::isLinkVisited):
+ (WebKit::VisitedLinkTableController::addVisitedLink):
+ * WebProcess/WebPage/VisitedLinkTableController.h: Renamed from Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.h.
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::WebPage):
+
2014-02-26 Enrica Casucci <enr...@apple.com>
Keyboard keeps showing up when clicking links after being shown once.
Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (164750 => 164751)
--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-02-26 22:30:21 UTC (rev 164750)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj 2014-02-26 23:01:15 UTC (rev 164751)
@@ -403,8 +403,8 @@
1AF1AC6B1651759E00C17D7F /* RemoteLayerTreeTransaction.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AF1AC691651759E00C17D7F /* RemoteLayerTreeTransaction.mm */; };
1AF1AC6C1651759E00C17D7F /* RemoteLayerTreeTransaction.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AF1AC6A1651759E00C17D7F /* RemoteLayerTreeTransaction.h */; };
1AF4129B18B40FCD00546FDC /* WKNavigationActionPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AF4129A18B40FCD00546FDC /* WKNavigationActionPrivate.h */; settings = {ATTRIBUTES = (Private, ); }; };
- 1AF4CEEF18BC481800BC2D34 /* WebVisitedLinkProvider.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AF4CEED18BC481800BC2D34 /* WebVisitedLinkProvider.cpp */; };
- 1AF4CEF018BC481800BC2D34 /* WebVisitedLinkProvider.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AF4CEEE18BC481800BC2D34 /* WebVisitedLinkProvider.h */; };
+ 1AF4CEEF18BC481800BC2D34 /* VisitedLinkTableController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AF4CEED18BC481800BC2D34 /* VisitedLinkTableController.cpp */; };
+ 1AF4CEF018BC481800BC2D34 /* VisitedLinkTableController.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AF4CEEE18BC481800BC2D34 /* VisitedLinkTableController.h */; };
1AFDD3151891B54000153970 /* APIPolicyClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AFDD3141891B54000153970 /* APIPolicyClient.h */; };
1AFDD3171891C94700153970 /* WKPreferences.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AFDD3161891C94700153970 /* WKPreferences.h */; settings = {ATTRIBUTES = (Private, ); }; };
1AFDD3191891CA1200153970 /* WKPreferences.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AFDD3181891CA1200153970 /* WKPreferences.mm */; };
@@ -2124,8 +2124,8 @@
1AF1AC691651759E00C17D7F /* RemoteLayerTreeTransaction.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RemoteLayerTreeTransaction.mm; sourceTree = "<group>"; };
1AF1AC6A1651759E00C17D7F /* RemoteLayerTreeTransaction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RemoteLayerTreeTransaction.h; sourceTree = "<group>"; };
1AF4129A18B40FCD00546FDC /* WKNavigationActionPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKNavigationActionPrivate.h; sourceTree = "<group>"; };
- 1AF4CEED18BC481800BC2D34 /* WebVisitedLinkProvider.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebVisitedLinkProvider.cpp; sourceTree = "<group>"; };
- 1AF4CEEE18BC481800BC2D34 /* WebVisitedLinkProvider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebVisitedLinkProvider.h; sourceTree = "<group>"; };
+ 1AF4CEED18BC481800BC2D34 /* VisitedLinkTableController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisitedLinkTableController.cpp; sourceTree = "<group>"; };
+ 1AF4CEEE18BC481800BC2D34 /* VisitedLinkTableController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisitedLinkTableController.h; sourceTree = "<group>"; };
1AFDD3141891B54000153970 /* APIPolicyClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIPolicyClient.h; sourceTree = "<group>"; };
1AFDD3161891C94700153970 /* WKPreferences.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKPreferences.h; sourceTree = "<group>"; };
1AFDD3181891CA1200153970 /* WKPreferences.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKPreferences.mm; sourceTree = "<group>"; };
@@ -2177,8 +2177,8 @@
2684054618B85E7E0022C38B /* ViewUpdateDispatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewUpdateDispatcher.h; sourceTree = "<group>"; };
2684054818B85FF70022C38B /* ViewUpdateDispatcher.messages.in */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ViewUpdateDispatcher.messages.in; sourceTree = "<group>"; };
2684054A18B866FF0022C38B /* VisibleContentRectUpdateInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VisibleContentRectUpdateInfo.cpp; sourceTree = "<group>"; };
- 2684055018B86ED60022C38B /* ViewUpdateDispatcherMessageReceiver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ViewUpdateDispatcherMessageReceiver.cpp; path = "ViewUpdateDispatcherMessageReceiver.cpp"; sourceTree = "<group>"; };
- 2684055118B86ED60022C38B /* ViewUpdateDispatcherMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ViewUpdateDispatcherMessages.h; path = "ViewUpdateDispatcherMessages.h"; sourceTree = "<group>"; };
+ 2684055018B86ED60022C38B /* ViewUpdateDispatcherMessageReceiver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ViewUpdateDispatcherMessageReceiver.cpp; sourceTree = "<group>"; };
+ 2684055118B86ED60022C38B /* ViewUpdateDispatcherMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewUpdateDispatcherMessages.h; sourceTree = "<group>"; };
26F9A83A18A3463F00AEB88A /* WKWebViewPrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WKWebViewPrivate.h; sourceTree = "<group>"; };
290F4271172A0C7400939FF0 /* ChildProcessSupplement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChildProcessSupplement.h; sourceTree = "<group>"; };
293EBEA91627D9C9005F89F1 /* WKDOMText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKDOMText.h; sourceTree = "<group>"; };
@@ -5126,8 +5126,8 @@
29D55DEE161BF8780031A2E3 /* WebPageGroupProxy.messages.in */,
BCA0EF7E12331E78007D3CFB /* WebUndoStep.cpp */,
BCA0EF7D12331E78007D3CFB /* WebUndoStep.h */,
- 1AF4CEED18BC481800BC2D34 /* WebVisitedLinkProvider.cpp */,
- 1AF4CEEE18BC481800BC2D34 /* WebVisitedLinkProvider.h */,
+ 1AF4CEED18BC481800BC2D34 /* VisitedLinkTableController.cpp */,
+ 1AF4CEEE18BC481800BC2D34 /* VisitedLinkTableController.h */,
);
path = WebPage;
sourceTree = "<group>";
@@ -6912,7 +6912,7 @@
1A9EA31B18BBDF16004F7C95 /* WKProcessClassPrivate.h in Headers */,
BC5D24C716CD73C5007D5461 /* WKBundleRangeHandlePrivate.h in Headers */,
BC14DF9F120B635F00826C0C /* WKBundleScriptWorld.h in Headers */,
- 1AF4CEF018BC481800BC2D34 /* WebVisitedLinkProvider.h in Headers */,
+ 1AF4CEF018BC481800BC2D34 /* VisitedLinkTableController.h in Headers */,
BC4075F6124FF0270068F20A /* WKCertificateInfo.h in Headers */,
BC407627124FF0400068F20A /* WKCertificateInfoMac.h in Headers */,
372CAF0B1833FD910040AC27 /* WKNSError.h in Headers */,
@@ -7965,7 +7965,7 @@
1A2D84A4127F6AD1001EB962 /* NPVariantData.cpp in Sources */,
BC8ACA1416670D89004C1941 /* ObjCObjectGraph.mm in Sources */,
BC8ACA1616670D89004C1941 /* ObjCObjectGraphCoders.mm in Sources */,
- 1AF4CEEF18BC481800BC2D34 /* WebVisitedLinkProvider.cpp in Sources */,
+ 1AF4CEEF18BC481800BC2D34 /* VisitedLinkTableController.cpp in Sources */,
2DA9449F1884E4F000ED86DB /* NativeWebTouchEventIOS.mm in Sources */,
BCCF673312C7F15C008F9C35 /* OriginAndDatabases.cpp in Sources */,
51E351F5180F5C7500E53BE9 /* WebIDBFactoryBackend.cpp in Sources */,
Copied: trunk/Source/WebKit2/WebProcess/WebPage/VisitedLinkTableController.cpp (from rev 164750, trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.cpp) (0 => 164751)
--- trunk/Source/WebKit2/WebProcess/WebPage/VisitedLinkTableController.cpp (rev 0)
+++ trunk/Source/WebKit2/WebProcess/WebPage/VisitedLinkTableController.cpp 2014-02-26 23:01:15 UTC (rev 164751)
@@ -0,0 +1,58 @@
+/*
+ * 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.
+ */
+
+#include "config.h"
+#include "VisitedLinkTableController.h"
+
+#include "WebProcess.h"
+
+using namespace WebCore;
+
+namespace WebKit {
+
+PassRefPtr<VisitedLinkTableController> VisitedLinkTableController::create()
+{
+ return adoptRef(new VisitedLinkTableController);
+}
+
+VisitedLinkTableController::VisitedLinkTableController()
+{
+}
+
+VisitedLinkTableController::~VisitedLinkTableController()
+{
+}
+
+bool VisitedLinkTableController::isLinkVisited(Page&, LinkHash linkHash, const URL&, const AtomicString&)
+{
+ return WebProcess::shared().isLinkVisited(linkHash);
+}
+
+void VisitedLinkTableController::addVisitedLink(Page&, LinkHash linkHash)
+{
+ WebProcess::shared().addVisitedLink(linkHash);
+}
+
+} // namespace WebKit
Copied: trunk/Source/WebKit2/WebProcess/WebPage/VisitedLinkTableController.h (from rev 164750, trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.h) (0 => 164751)
--- trunk/Source/WebKit2/WebProcess/WebPage/VisitedLinkTableController.h (rev 0)
+++ trunk/Source/WebKit2/WebProcess/WebPage/VisitedLinkTableController.h 2014-02-26 23:01:15 UTC (rev 164751)
@@ -0,0 +1,47 @@
+/*
+ * 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.
+ */
+
+#ifndef VisitedLinkTableController_h
+#define VisitedLinkTableController_h
+
+#include <WebCore/VisitedLinkStore.h>
+
+namespace WebKit {
+
+class VisitedLinkTableController final : public WebCore::VisitedLinkStore {
+public:
+ static PassRefPtr<VisitedLinkTableController> create();
+ virtual ~VisitedLinkTableController();
+
+private:
+ VisitedLinkTableController();
+
+ virtual bool isLinkVisited(WebCore::Page&, WebCore::LinkHash, const WebCore::URL& baseURL, const AtomicString& attributeURL) override;
+ virtual void addVisitedLink(WebCore::Page&, WebCore::LinkHash) override;
+};
+
+} // namepsace WebKit
+
+#endif // VisitedLinkTableController_h
Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (164750 => 164751)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2014-02-26 22:30:21 UTC (rev 164750)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp 2014-02-26 23:01:15 UTC (rev 164751)
@@ -51,6 +51,7 @@
#include "PrintInfo.h"
#include "SessionState.h"
#include "ShareableBitmap.h"
+#include "VisitedLinkTableController.h"
#include "WKSharedAPICast.h"
#include "WebAlternativeTextClient.h"
#include "WebBackForwardListItem.h"
@@ -87,7 +88,6 @@
#include "WebProcess.h"
#include "WebProcessProxyMessages.h"
#include "WebProgressTrackerClient.h"
-#include "WebVisitedLinkProvider.h"
#include <_javascript_Core/APICast.h>
#include <WebCore/ArchiveResource.h>
#include <WebCore/Chrome.h>
@@ -325,7 +325,7 @@
pageClients.loaderClientForMainFrame = new WebFrameLoaderClient;
pageClients.progressTrackerClient = new WebProgressTrackerClient(*this);
- pageClients.visitedLinkStore = WebVisitedLinkProvider::create();
+ pageClients.visitedLinkStore = VisitedLinkTableController::create();
m_page = adoptPtr(new Page(pageClients));
Deleted: trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.cpp (164750 => 164751)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.cpp 2014-02-26 22:30:21 UTC (rev 164750)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.cpp 2014-02-26 23:01:15 UTC (rev 164751)
@@ -1,58 +0,0 @@
-/*
- * 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.
- */
-
-#include "config.h"
-#include "WebVisitedLinkProvider.h"
-
-#include "WebProcess.h"
-
-using namespace WebCore;
-
-namespace WebKit {
-
-PassRefPtr<WebVisitedLinkProvider> WebVisitedLinkProvider::create()
-{
- return adoptRef(new WebVisitedLinkProvider);
-}
-
-WebVisitedLinkProvider::WebVisitedLinkProvider()
-{
-}
-
-WebVisitedLinkProvider::~WebVisitedLinkProvider()
-{
-}
-
-bool WebVisitedLinkProvider::isLinkVisited(Page&, LinkHash linkHash, const URL&, const AtomicString&)
-{
- return WebProcess::shared().isLinkVisited(linkHash);
-}
-
-void WebVisitedLinkProvider::addVisitedLink(Page&, LinkHash linkHash)
-{
- WebProcess::shared().addVisitedLink(linkHash);
-}
-
-} // namespace WebKit
Deleted: trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.h (164750 => 164751)
--- trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.h 2014-02-26 22:30:21 UTC (rev 164750)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebVisitedLinkProvider.h 2014-02-26 23:01:15 UTC (rev 164751)
@@ -1,47 +0,0 @@
-/*
- * 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.
- */
-
-#ifndef WebVisitedLinkProvider_h
-#define WebVisitedLinkProvider_h
-
-#include <WebCore/VisitedLinkStore.h>
-
-namespace WebKit {
-
-class WebVisitedLinkProvider final : public WebCore::VisitedLinkStore {
-public:
- static PassRefPtr<WebVisitedLinkProvider> create();
- virtual ~WebVisitedLinkProvider();
-
-private:
- WebVisitedLinkProvider();
-
- virtual bool isLinkVisited(WebCore::Page&, WebCore::LinkHash, const WebCore::URL& baseURL, const AtomicString& attributeURL) override;
- virtual void addVisitedLink(WebCore::Page&, WebCore::LinkHash) override;
-};
-
-} // namepsace WebKit
-
-#endif // WebVisitedLinkProvider_h