[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

beidson at apple.com beidson at apple.com
Wed Dec 22 11:39:39 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 89f1f852dd27b250e767ebca80bdc21f9820c808
Author: beidson at apple.com <beidson at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Aug 3 01:08:28 2010 +0000

    2010-08-02  Brady Eidson  <beidson at apple.com>
    
            Reviewed by Anders Carlsson.
    
            Add VisitedLinkStrategy for each platform to implement
            https://bugs.webkit.org/show_bug.cgi?id=43393
    
            * WebCoreSupport/WebPlatformStrategies.h:
            * WebCoreSupport/WebPlatformStrategies.mm:
            (WebPlatformStrategies::createVisitedLinkStrategy):
            (WebPlatformStrategies::isLinkVisited): Call back into PageGroup's visited links.
            (WebPlatformStrategies::addVisitedLink): Ditto.
    2010-08-02  Brady Eidson  <beidson at apple.com>
    
            Reviewed by Anders Carlsson.
    
            Add VisitedLinkStrategy for each platform to implement
            https://bugs.webkit.org/show_bug.cgi?id=43393
    
            No new tests. (No change in behavior)
    
            * WebCore.exp.in:
            * WebCore.xcodeproj/project.pbxproj:
    
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::SelectorChecker::determineLinkStateSlowCase): Use VisitedLinkStrategy if it's enabled.
    
            * loader/HistoryController.cpp:
            (WebCore::addVisitedLink): Choose VisitedLinkStrategy if it's enabled, else fallback to PageGroup.
            (WebCore::HistoryController::updateForStandardLoad): Use addVisitedLink helper.
            (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): Ditto.
            (WebCore::HistoryController::updateForClientRedirect): Ditto.
            (WebCore::HistoryController::updateForSameDocumentNavigation): Ditto.
    
            * platform/PlatformStrategies.h:
            (WebCore::PlatformStrategies::visitedLinkStrategy):
            (WebCore::PlatformStrategies::PlatformStrategies):
    2010-08-02  Brady Eidson  <beidson at apple.com>
    
            Reviewed by Anders Carlsson.
    
            Add VisitedLinkStrategy for each platform to implement
            https://bugs.webkit.org/show_bug.cgi?id=43393
    
            * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
            (WebKit::WebPlatformStrategies::createVisitedLinkStrategy):
            (WebKit::WebPlatformStrategies::isLinkVisited): Call back into PageGroup's visited links, for now.
            (WebKit::WebPlatformStrategies::addVisitedLink): Ditto.
            * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f352ccd..aac8d9f 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,29 @@
+2010-08-02  Brady Eidson  <beidson at apple.com>
+
+        Reviewed by Anders Carlsson.
+
+        Add VisitedLinkStrategy for each platform to implement
+        https://bugs.webkit.org/show_bug.cgi?id=43393
+
+        No new tests. (No change in behavior)
+
+        * WebCore.exp.in:
+        * WebCore.xcodeproj/project.pbxproj:
+        
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::SelectorChecker::determineLinkStateSlowCase): Use VisitedLinkStrategy if it's enabled.
+        
+        * loader/HistoryController.cpp:
+        (WebCore::addVisitedLink): Choose VisitedLinkStrategy if it's enabled, else fallback to PageGroup.
+        (WebCore::HistoryController::updateForStandardLoad): Use addVisitedLink helper.
+        (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): Ditto.
+        (WebCore::HistoryController::updateForClientRedirect): Ditto.
+        (WebCore::HistoryController::updateForSameDocumentNavigation): Ditto.
+        
+        * platform/PlatformStrategies.h:
+        (WebCore::PlatformStrategies::visitedLinkStrategy):
+        (WebCore::PlatformStrategies::PlatformStrategies):
+
 2010-08-02  Chris Fleizach  <cfleizach at apple.com>
 
         Unreviewed, rolling out r64471.
diff --git a/WebCore/WebCore.exp.in b/WebCore/WebCore.exp.in
index 3b4dd1b..c07a5b8 100644
--- a/WebCore/WebCore.exp.in
+++ b/WebCore/WebCore.exp.in
@@ -815,6 +815,7 @@ __ZN7WebCore9HTMLNames9scriptTagE
 __ZN7WebCore9JSElement6s_infoE
 __ZN7WebCore9PageCache11setCapacityEi
 __ZN7WebCore9PageCache27releaseAutoreleasedPagesNowEv
+__ZN7WebCore9PageGroup13isLinkVisitedEy
 __ZN7WebCore9PageGroup14addVisitedLinkEPKtm
 __ZN7WebCore9PageGroup17closeLocalStorageEv
 __ZN7WebCore9PageGroup18addVisitedLinkHashEy
diff --git a/WebCore/WebCore.xcodeproj/project.pbxproj b/WebCore/WebCore.xcodeproj/project.pbxproj
index 025f1d3..853d1ca 100644
--- a/WebCore/WebCore.xcodeproj/project.pbxproj
+++ b/WebCore/WebCore.xcodeproj/project.pbxproj
@@ -1111,6 +1111,7 @@
 		514C767D0CE923A1007EF3CD /* ResourceRequestBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 514C76680CE923A1007EF3CD /* ResourceRequestBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		514C767E0CE923A1007EF3CD /* ResourceResponseBase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 514C76690CE923A1007EF3CD /* ResourceResponseBase.cpp */; };
 		514C767F0CE923A1007EF3CD /* ResourceResponseBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 514C766A0CE923A1007EF3CD /* ResourceResponseBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
+		515788C11207852C00A37C4A /* VisitedLinkStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = 515788C01207852C00A37C4A /* VisitedLinkStrategy.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		515B03990CD1642A00B7EA9C /* SQLStatement.h in Headers */ = {isa = PBXBuildFile; fileRef = 515B03970CD1642A00B7EA9C /* SQLStatement.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		515B039A0CD1642A00B7EA9C /* SQLStatement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 515B03980CD1642A00B7EA9C /* SQLStatement.cpp */; };
 		5160300B0CC4251200C8AC25 /* FileSystemPOSIX.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5160300A0CC4251200C8AC25 /* FileSystemPOSIX.cpp */; };
@@ -6876,6 +6877,7 @@
 		514C766A0CE923A1007EF3CD /* ResourceResponseBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceResponseBase.h; sourceTree = "<group>"; };
 		5150C2A10702629000AF642C /* WebDashboardRegion.h */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.h; path = WebDashboardRegion.h; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
 		5150C2A50702629800AF642C /* WebDashboardRegion.m */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 4; lastKnownFileType = sourcecode.c.objc; path = WebDashboardRegion.m; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
+		515788C01207852C00A37C4A /* VisitedLinkStrategy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VisitedLinkStrategy.h; sourceTree = "<group>"; };
 		515B03970CD1642A00B7EA9C /* SQLStatement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLStatement.h; sourceTree = "<group>"; };
 		515B03980CD1642A00B7EA9C /* SQLStatement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SQLStatement.cpp; sourceTree = "<group>"; };
 		5160300A0CC4251200C8AC25 /* FileSystemPOSIX.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FileSystemPOSIX.cpp; sourceTree = "<group>"; };
@@ -16379,6 +16381,7 @@
 				1419D2C40CEA6F6100FF507A /* TreeShared.h */,
 				2E3BBF051162DA1100B9409A /* UUID.cpp */,
 				2E3BBF061162DA1100B9409A /* UUID.h */,
+				515788C01207852C00A37C4A /* VisitedLinkStrategy.h */,
 				9380F47109A11AB4001FDB34 /* Widget.cpp */,
 				9380F47209A11AB4001FDB34 /* Widget.h */,
 				E1E1BEFF115FF6FB006F52CA /* WindowsKeyboardCodes.h */,
@@ -19962,6 +19965,7 @@
 				E1BE512E0CF6C512002EA959 /* XSLTUnicodeSort.h in Headers */,
 				97DD4D870FDF4D6E00ECF9A4 /* XSSAuditor.h in Headers */,
 				CE172E011136E8CE0062A533 /* ZoomMode.h in Headers */,
+				515788C11207852C00A37C4A /* VisitedLinkStrategy.h in Headers */,
 				D39D006D11F8E308006041F2 /* PopupMenuMac.h in Headers */,
 				D39D009D11F907E6006041F2 /* SearchPopupMenuMac.h in Headers */,
 			);
diff --git a/WebCore/css/CSSStyleSelector.cpp b/WebCore/css/CSSStyleSelector.cpp
index 6974055..9d7e505 100644
--- a/WebCore/css/CSSStyleSelector.cpp
+++ b/WebCore/css/CSSStyleSelector.cpp
@@ -97,6 +97,11 @@
 #include <wtf/StdLibExtras.h>
 #include <wtf/Vector.h>
 
+#if USE(PLATFORM_STRATEGIES)
+#include "PlatformStrategies.h"
+#include "VisitedLinkStrategy.h"
+#endif
+
 #if ENABLE(DASHBOARD_SUPPORT)
 #include "DashboardRegion.h"
 #endif
@@ -929,7 +934,12 @@ EInsideLink CSSStyleSelector::SelectorChecker::determineLinkStateSlowCase(Elemen
         return InsideUnvisitedLink;
 
     m_linksCheckedForVisitedState.add(hash);
+
+#if USE(PLATFORM_STRATEGIES)
+    return platformStrategies()->visitedLinkStrategy()->isLinkVisited(page, hash) ? InsideVisitedLink : InsideUnvisitedLink;
+#else
     return page->group().isLinkVisited(hash) ? InsideVisitedLink : InsideUnvisitedLink;
+#endif
 }
 
 bool CSSStyleSelector::SelectorChecker::checkSelector(CSSSelector* sel, Element* element) const
diff --git a/WebCore/loader/HistoryController.cpp b/WebCore/loader/HistoryController.cpp
index c2df00c..144faa5 100644
--- a/WebCore/loader/HistoryController.cpp
+++ b/WebCore/loader/HistoryController.cpp
@@ -48,8 +48,22 @@
 #include "Settings.h"
 #include <wtf/text/CString.h>
 
+#if USE(PLATFORM_STRATEGIES)
+#include "PlatformStrategies.h"
+#include "VisitedLinkStrategy.h"
+#endif
+
 namespace WebCore {
 
+static inline void addVisitedLink(Page* page, const KURL& url)
+{
+#if USE(PLATFORM_STRATEGIES)
+    platformStrategies()->visitedLinkStrategy()->addVisitedLink(page, visitedLinkHash(url.string().characters(), url.string().length()));
+#else
+    page->group().addVisitedLink(url);
+#endif
+}
+
 HistoryController::HistoryController(Frame* frame)
     : m_frame(frame)
 {
@@ -290,7 +304,7 @@ void HistoryController::updateForStandardLoad(HistoryUpdateType updateType)
 
     if (!historyURL.isEmpty() && !needPrivacy) {
         if (Page* page = m_frame->page())
-            page->group().addVisitedLink(historyURL);
+            addVisitedLink(page, historyURL);
 
         if (!frameLoader->documentLoader()->didCreateGlobalHistoryEntry() && frameLoader->documentLoader()->unreachableURL().isEmpty() && !frameLoader->url().isEmpty())
             frameLoader->client()->updateGlobalHistoryRedirectLinks();
@@ -334,7 +348,7 @@ void HistoryController::updateForRedirectWithLockedBackForwardList()
 
     if (!historyURL.isEmpty() && !needPrivacy) {
         if (Page* page = m_frame->page())
-            page->group().addVisitedLink(historyURL);
+            addVisitedLink(page, historyURL);
 
         if (!m_frame->loader()->documentLoader()->didCreateGlobalHistoryEntry() && m_frame->loader()->documentLoader()->unreachableURL().isEmpty() && !m_frame->loader()->url().isEmpty())
             m_frame->loader()->client()->updateGlobalHistoryRedirectLinks();
@@ -361,7 +375,7 @@ void HistoryController::updateForClientRedirect()
 
     if (!historyURL.isEmpty() && !needPrivacy) {
         if (Page* page = m_frame->page())
-            page->group().addVisitedLink(historyURL);
+            addVisitedLink(page, historyURL);
     }
 }
 
@@ -399,7 +413,7 @@ void HistoryController::updateForSameDocumentNavigation()
     if (!page)
         return;
 
-    page->group().addVisitedLink(m_frame->loader()->url());
+    addVisitedLink(page, m_frame->loader()->url());
 }
 
 void HistoryController::updateForFrameLoadCompleted()
diff --git a/WebCore/platform/PlatformStrategies.h b/WebCore/platform/PlatformStrategies.h
index f585202..c02ce00 100644
--- a/WebCore/platform/PlatformStrategies.h
+++ b/WebCore/platform/PlatformStrategies.h
@@ -32,6 +32,7 @@ namespace WebCore {
 
 class PluginStrategy;
 class LocalizationStrategy;
+class VisitedLinkStrategy;
 
 class PlatformStrategies {
 public:
@@ -49,10 +50,18 @@ public:
         return m_localizationStrategy;
     }
 
+    VisitedLinkStrategy* visitedLinkStrategy()
+    {
+        if (!m_visitedLinkStrategy)
+            m_visitedLinkStrategy = createVisitedLinkStrategy();
+        return m_visitedLinkStrategy;
+    }
+
 protected:
     PlatformStrategies()
-        : m_pluginStrategy(0),
-          m_localizationStrategy(0)
+        : m_pluginStrategy(0)
+        , m_localizationStrategy(0)
+        , m_visitedLinkStrategy(0)
     {
     }
 
@@ -63,9 +72,11 @@ protected:
 private:
     virtual PluginStrategy* createPluginStrategy() = 0;
     virtual LocalizationStrategy* createLocalizationStrategy() = 0;
+    virtual VisitedLinkStrategy* createVisitedLinkStrategy() = 0;
 
     PluginStrategy* m_pluginStrategy;
     LocalizationStrategy* m_localizationStrategy;
+    VisitedLinkStrategy* m_visitedLinkStrategy;
 };
 
 PlatformStrategies* platformStrategies();
diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index a1d508b..bb42e9d 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,16 @@
+2010-08-02  Brady Eidson  <beidson at apple.com>
+
+        Reviewed by Anders Carlsson.
+
+        Add VisitedLinkStrategy for each platform to implement
+        https://bugs.webkit.org/show_bug.cgi?id=43393
+
+        * WebCoreSupport/WebPlatformStrategies.h:
+        * WebCoreSupport/WebPlatformStrategies.mm:
+        (WebPlatformStrategies::createVisitedLinkStrategy):
+        (WebPlatformStrategies::isLinkVisited): Call back into PageGroup's visited links.
+        (WebPlatformStrategies::addVisitedLink): Ditto.
+
 2010-07-27  Luiz Agostini  <luiz.agostini at openbossa.org>
 
         Reviewed by Darin Fisher.
diff --git a/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h b/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h
index 0ac4f16..3d34dbe 100644
--- a/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h
+++ b/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h
@@ -29,8 +29,9 @@
 #include <WebCore/PlatformStrategies.h>
 #include <WebCore/PluginStrategy.h>
 #include <WebCore/LocalizationStrategy.h>
+#include <WebCore/VisitedLinkStrategy.h>
 
-class WebPlatformStrategies : public WebCore::PlatformStrategies, private WebCore::PluginStrategy, private WebCore::LocalizationStrategy {
+class WebPlatformStrategies : public WebCore::PlatformStrategies, private WebCore::PluginStrategy, private WebCore::LocalizationStrategy, private WebCore::VisitedLinkStrategy {
 public:
     static void initialize();
     
@@ -40,6 +41,7 @@ private:
     // WebCore::PlatformStrategies
     virtual WebCore::PluginStrategy* createPluginStrategy();
     virtual WebCore::LocalizationStrategy* createLocalizationStrategy();
+    virtual WebCore::VisitedLinkStrategy* createVisitedLinkStrategy();
 
     // WebCore::PluginStrategy
     virtual void refreshPlugins();
@@ -148,6 +150,10 @@ private:
     virtual WebCore::String validationMessageRangeUnderflowText();
     virtual WebCore::String validationMessageRangeOverflowText();
     virtual WebCore::String validationMessageStepMismatchText();
+
+    // WebCore::VisitedLinkStrategy
+    virtual bool isLinkVisited(WebCore::Page*, WebCore::LinkHash);
+    virtual void addVisitedLink(WebCore::Page*, WebCore::LinkHash);
 };
 
 #endif // WebPlatformStrategies_h
diff --git a/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm b/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm
index 6805f5e..2900ccf 100644
--- a/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm
+++ b/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm
@@ -30,6 +30,8 @@
 #import "WebPluginPackage.h"
 #import <WebCore/BlockExceptions.h>
 #import <WebCore/IntSize.h>
+#import <WebCore/Page.h>
+#import <WebCore/PageGroup.h>
 #import <wtf/StdLibExtras.h>
 
 #ifdef BUILDING_ON_TIGER
@@ -60,6 +62,11 @@ LocalizationStrategy* WebPlatformStrategies::createLocalizationStrategy()
     return this;
 }
 
+VisitedLinkStrategy* WebPlatformStrategies::createVisitedLinkStrategy()
+{
+    return this;
+}
+
 void WebPlatformStrategies::refreshPlugins()
 {
     [[WebPluginDatabase sharedDatabase] refresh];
@@ -762,3 +769,13 @@ String WebPlatformStrategies::validationMessageStepMismatchText()
     return UI_STRING("step mismatch", "Validation message for input form controls with value not respecting the step attribute");
 }
 
+// VisitedLinkStrategy
+bool WebPlatformStrategies::isLinkVisited(Page* page, LinkHash hash)
+{
+    return page->group().isLinkVisited(hash);
+}
+
+void WebPlatformStrategies::addVisitedLink(Page* page, LinkHash hash)
+{
+    return page->group().addVisitedLinkHash(hash);
+}
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index 989b3cb..602e619 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,16 @@
+2010-08-02  Brady Eidson  <beidson at apple.com>
+
+        Reviewed by Anders Carlsson.
+
+        Add VisitedLinkStrategy for each platform to implement
+        https://bugs.webkit.org/show_bug.cgi?id=43393
+
+        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+        (WebKit::WebPlatformStrategies::createVisitedLinkStrategy):
+        (WebKit::WebPlatformStrategies::isLinkVisited): Call back into PageGroup's visited links, for now.
+        (WebKit::WebPlatformStrategies::addVisitedLink): Ditto.
+        * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+
 2010-07-27  Luiz Agostini  <luiz.agostini at openbossa.org>
 
         Reviewed by Darin Fisher.
diff --git a/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp b/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
index 5f5a009..c52cdb2 100644
--- a/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
+++ b/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp
@@ -32,6 +32,8 @@
 #include "WebCoreArgumentCoders.h"
 #include "WebProcess.h"
 #include "WebProcessProxyMessageKinds.h"
+#include <WebCore/Page.h>
+#include <WebCore/PageGroup.h>
 #include <wtf/MathExtras.h>
 #include <wtf/text/CString.h>
 
@@ -67,6 +69,11 @@ LocalizationStrategy* WebPlatformStrategies::createLocalizationStrategy()
     return this;
 }
 
+VisitedLinkStrategy* WebPlatformStrategies::createVisitedLinkStrategy()
+{
+    return this;
+}
+
 // PluginStrategy
 
 void WebPlatformStrategies::populatePluginCache()
@@ -800,6 +807,19 @@ String WebPlatformStrategies::validationMessageStepMismatchText()
     return UI_STRING("step mismatch", "Validation message for input form controls with value not respecting the step attribute");
 }
 
+// VisitedLinkStrategy
+bool WebPlatformStrategies::isLinkVisited(Page* page, LinkHash hash)
+{
+    // FIXME: Have WebKit2 manage its own visited links
+    return page->group().isLinkVisited(hash);
+}
+
+void WebPlatformStrategies::addVisitedLink(Page* page, LinkHash hash)
+{
+    // FIXME: Have WebKit2 manage its own visited links
+    return page->group().addVisitedLinkHash(hash);
+}
+
 } // namespace WebKit
 
 #endif // USE(PLATFORM_STRATEGIES)
diff --git a/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h b/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h
index bf2e031..02818c7 100644
--- a/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h
+++ b/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h
@@ -31,10 +31,11 @@
 #include <WebCore/PlatformStrategies.h>
 #include <WebCore/PluginStrategy.h>
 #include <WebCore/LocalizationStrategy.h>
+#include <WebCore/VisitedLinkStrategy.h>
 
 namespace WebKit {
 
-class WebPlatformStrategies : public WebCore::PlatformStrategies, private WebCore::PluginStrategy, private WebCore::LocalizationStrategy {
+class WebPlatformStrategies : public WebCore::PlatformStrategies, private WebCore::PluginStrategy, private WebCore::LocalizationStrategy, private WebCore::VisitedLinkStrategy {
 public:
     static void initialize();
     
@@ -44,6 +45,7 @@ private:
     // WebCore::PlatformStrategies
     virtual WebCore::PluginStrategy* createPluginStrategy();
     virtual WebCore::LocalizationStrategy* createLocalizationStrategy();
+    virtual WebCore::VisitedLinkStrategy* createVisitedLinkStrategy();
 
     // WebCore::PluginStrategy
     virtual void refreshPlugins();
@@ -170,6 +172,10 @@ private:
     bool m_pluginCacheIsPopulated;
     bool m_shouldRefreshPlugins;
     Vector<WebCore::PluginInfo> m_cachedPlugins;
+
+    // WebCore::VisitedLinkStrategy
+    virtual bool isLinkVisited(WebCore::Page*, WebCore::LinkHash);
+    virtual void addVisitedLink(WebCore::Page*, WebCore::LinkHash);
 };
 
 } // namespace WebKit

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list