Need WebKit API to determine whether we have a site icon for a given URL
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2011 21:13:56 +0000 (21:13 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Feb 2011 21:13:56 +0000 (21:13 +0000)
commit710aae46c7e6fa4f8acef6a40eee7031c4afdeac
tree60c67cb6bea57b7ef3b4331b68da8c4acd1af31a
parente30b54c46bbf92b3fe6fb9855da5ef35eda14f67
Need WebKit API to determine whether we have a site icon for a given URL
https://bugs.webkit.org/show_bug.cgi?id=54400

Reviewed by Brady Eidson.

This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not
we have a site icon for the given URL.

* Interfaces/IWebIconDatabase.idl: Added new function.
* Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds.
* WebIconDatabase.cpp:
(WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we
    load the icon from disk, and call iconURLForPageURL to determine whether or not
    we actually have an icon.
* WebIconDatabase.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/win/ChangeLog
Source/WebKit/win/Interfaces/IWebIconDatabase.idl
Source/WebKit/win/Interfaces/WebKit.idl
Source/WebKit/win/WebIconDatabase.cpp
Source/WebKit/win/WebIconDatabase.h