diff options
author | Steve Block <steveblock@google.com> | 2011-05-25 19:08:45 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-06-08 13:51:31 +0100 |
commit | 2bde8e466a4451c7319e3a072d118917957d6554 (patch) | |
tree | 28f4a1b869a513e565c7760d0e6a06e7cf1fe95a /Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm | |
parent | 6939c99b71d9372d14a0c74a772108052e8c48c8 (diff) | |
download | external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.zip external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.gz external_webkit-2bde8e466a4451c7319e3a072d118917957d6554.tar.bz2 |
Merge WebKit at r82507: Initial merge by git
Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
Diffstat (limited to 'Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm')
-rw-r--r-- | Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm b/Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm index 3651dea..8214d02 100644 --- a/Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm +++ b/Source/WebKit/mac/WebCoreSupport/WebIconDatabaseClient.mm @@ -41,14 +41,14 @@ bool WebIconDatabaseClient::performImport() return result; } -void WebIconDatabaseClient::dispatchDidRemoveAllIcons() +void WebIconDatabaseClient::didRemoveAllIcons() { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; [[WebIconDatabase sharedIconDatabase] _sendDidRemoveAllIconsNotification]; [pool drain]; } -void WebIconDatabaseClient::dispatchDidAddIconForPageURL(const WTF::String& pageURL) +void WebIconDatabaseClient::didImportIconURLForPageURL(const String& pageURL) { // This is a quick notification that is likely to fire in a rapidly iterating loop // Therefore we let WebCore handle autorelease by draining its pool "from time to time" @@ -56,4 +56,19 @@ void WebIconDatabaseClient::dispatchDidAddIconForPageURL(const WTF::String& page [[WebIconDatabase sharedIconDatabase] _sendNotificationForURL:pageURL]; } +void WebIconDatabaseClient::didImportIconDataForPageURL(const String& pageURL) +{ + // WebKit1 only has a single "icon did change" notification. + didImportIconURLForPageURL(pageURL); +} +void WebIconDatabaseClient::didChangeIconForPageURL(const String& pageURL) +{ + // WebKit1 only has a single "icon did change" notification. + didImportIconURLForPageURL(pageURL); +} + +void WebIconDatabaseClient::didFinishURLImport() +{ +} + #endif // ENABLE(ICONDATABASE) |