[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

beidson at apple.com beidson at apple.com
Thu Oct 29 20:42:28 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit d6a97785ba23d09f21a61caa656abed7515d5006
Author: beidson at apple.com <beidson at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 9 16:35:51 2009 +0000

    Add SPI to specifically enable visited link tracking.
    
    Reviewed by Dan Bernstein.
    
    * History/WebHistory.mm:
    (+[WebHistory _setVisitedLinkTrackingEnabled:]):
    * History/WebHistoryPrivate.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49392 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index 300ff02..187e861 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,13 @@
+2009-10-09  Brady Eidson  <beidson at apple.com>
+
+        Reviewed by Dan Bernstein.
+
+        Add SPI to specifically enable visited link tracking.
+
+        * History/WebHistory.mm:
+        (+[WebHistory _setVisitedLinkTrackingEnabled:]):
+        * History/WebHistoryPrivate.h:
+
 2009-10-08  Jon Honeycutt  <jhoneycutt at apple.com>
 
         Remove the WebKitPluginHalterEnabledPreferenceKey in favor of checking
diff --git a/WebKit/mac/History/WebHistory.mm b/WebKit/mac/History/WebHistory.mm
index f5b4476..af40a24 100644
--- a/WebKit/mac/History/WebHistory.mm
+++ b/WebKit/mac/History/WebHistory.mm
@@ -801,6 +801,11 @@ static inline WebHistoryDateKey dateKey(NSTimeInterval date)
     return [_historyPrivate data];
 }
 
++ (void)_setVisitedLinkTrackingEnabled:(BOOL)visitedLinkTrackingEnabled
+{
+    PageGroup::setShouldTrackVisitedLinks(visitedLinkTrackingEnabled);
+}
+
 + (void)_removeAllVisitedLinks
 {
     PageGroup::removeAllVisitedLinks();
diff --git a/WebKit/mac/History/WebHistoryPrivate.h b/WebKit/mac/History/WebHistoryPrivate.h
index 8bb6ab9..b93472f 100644
--- a/WebKit/mac/History/WebHistoryPrivate.h
+++ b/WebKit/mac/History/WebHistoryPrivate.h
@@ -53,5 +53,6 @@ extern NSString *WebHistoryItemsDiscardedWhileLoadingNotification;
 */
 - (NSData *)_data;
 
++ (void)_setVisitedLinkTrackingEnabled:(BOOL)visitedLinkTrackingEnabled;
 + (void)_removeAllVisitedLinks;
 @end

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list