Skip to content
  • cblu's avatar
    WebKit: · cd430f3e
    cblu authored
    	- Moved the default icon method to WebIconDatabase
    	- Removed "icon URL" from the location change handler API
    
            * History.subproj/WebHistoryItem.m:
            (-[WebHistoryItem icon]): don't worry about iconForSiteURL:withSize: returning nil
            * Misc.subproj/WebIconDatabase.h:
            * Misc.subproj/WebIconDatabase.m:
            (-[WebIconDatabase iconForSiteURL:withSize:]): return defaultIconWithSize if none found
            (-[WebIconDatabase defaultIconWithSize:]): added, loads, caches default icon
            (-[WebIconDatabase _hasIconForSiteURL:]): added, called by webdatasource to determine if icon is necessary
            * Misc.subproj/WebIconDatabasePrivate.h: added _hasIconForSiteURL
            * Misc.subproj/WebIconLoader.h: removed default icon method
            * Misc.subproj/WebIconLoader.m: removed default icon method
            * Resources/url_icon.tiff: resized to 32 x 32
            * WebKit.exp: export symbol for a dictionary key
            * WebKit.pbproj/project.pbxproj:
            * WebView.subproj/WebDataSourcePrivate.m:
            (-[WebDataSource _loadIcon]): call _hasIconForSiteURL
            * WebView.subproj/WebHTMLView.m:
            (-[WebHTMLView mouseDragged:]): call defaultIconWithSize
            * WebView.subproj/WebLocationChangeHandler.h:
            * WebView.subproj/WebLocationChangeHandler.m:
            (-[WebLocationChangeHandler receivedPageIcon:forDataSource:]): renamed
    
    WebBrowser:
    
    	- Moved the default icon method to WebIconDatabase
    	- Removed "icon URL" from the location change handler API
    
            * ABHomePagesController.m:
            (-[ABHomePagesController tableView:willDisplayCell:forTableColumn:row:]): call defaultIconWithSize
            * BrowserWindowController.m:
            (-[BrowserWindowController frameLoadCommitted:]): call defaultIconWithSize
            (-[BrowserWindowController setUpFavoritesBar]): call defaultIconWithSize
            * LocationChangeHandler.m:
            (-[LocationChangeHandler receivedPageIcon:forDataSource:]): renamed, don't use icon URL anymore
            * LocationTextField.m:
            (-[LocationTextField setDisplayAttributes]): call defaultIconWithSize
            (-[LocationTextField textDidChange:]): call defaultIconWithSize
            * RendezvousController.m:
            (-[RendezvousController _iconForServiceDictionary:]): call defaultIconWithSize
            * TitleBarButton.m:
            (-[TitleBarButton initWithFrame:]): call defaultIconWithSize
            * WebBrowser.pbproj/project.pbxproj:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cd430f3e