Reviewed by John
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Oct 2006 02:10:48 +0000 (02:10 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Oct 2006 02:10:48 +0000 (02:10 +0000)
commit2cb40c354b29a75351539eda809ba22a0cf8367c
tree0a1e07f91354c3a974a18b45bbc12aadbeae5844
parentd95eb6014427dd7250e6fc25147d664f854aca3c
    Reviewed by John

        http://bugs.webkit.org/show_bug.cgi?id=11195
        Added the WebIconDatabaseDelegate.  This allows the ability to allow customization of
        IconDatabase behavior in the future, starting now with the ability to override the
        default icon fairly flexibly

        * Misc/WebIconDatabase.h: Added setIconDatabaseDelegate:
        * Misc/WebIconDatabase.m:
        (-[WebIconDatabase iconForURL:withSize:cache:]): Call the delegate for the default icon if delegate is set
        (-[WebIconDatabase defaultIconForURL:withSize:]): Get the default icon through the delegate if available, built-in if not
        (-[WebIconDatabase setDelegate:]):
        (-[WebIconDatabase delegate]):
        * Misc/WebIconDatabaseDelegate.h: Added.
        * Misc/WebIconDatabasePrivate.h: Added the delegate, nuked an unused class definition
        * WebKit.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Misc/WebIconDatabase.h
WebKit/Misc/WebIconDatabase.m
WebKit/Misc/WebIconDatabaseDelegate.h [new file with mode: 0644]
WebKit/Misc/WebIconDatabasePrivate.h
WebKit/WebKit.xcodeproj/project.pbxproj