Reviewed by Ada and Geoff
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Sep 2007 23:12:55 +0000 (23:12 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 18 Sep 2007 23:12:55 +0000 (23:12 +0000)
commitb19d6ba280b5c755f1cc4fca6bdb6b93ebd35f28
tree29f3918d414b0990b7ce644e9f73bb57e2a2e647
parenteca87fbce6ccc38d40a53e42d321e8443faef0b3
    Reviewed by Ada and Geoff

        Part of <rdar://problem/5471308> - Get async Icon Database fully hooked up on Windows

        Hook up main thread delivery of Icon Database notifications from the secondary thread

        * WebIconDatabase.cpp:
        (WebIconDatabase::WebIconDatabase): Initialize m_deliveryRequested
        (WebIconDatabase::init): Set the IconDatabaseClient to the shared WebIconDatabase
        (WebIconDatabase::dispatchDidRemoveAllIcons): Queue the notification to be delivered on the main thread then
          ask for the delivery
        (WebIconDatabase::dispatchDidAddIconForPageURL): Ditto
        (WebIconDatabase::scheduleNotificationDelivery): If the m_deliveryRequested hasn't been set, then set it
          and perform the callOnMainThread() for WebIconDatabase::deliverNotifications
        (postDidRemoveAllIconsNotification):
        (postDidAddIconNotification):
        (WebIconDatabase::deliverNotifications): Deliver all notifications in the current queue
        * WebIconDatabase.h:

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