Skip to content
  • mihaip@chromium.org's avatar
    2010-12-14 Mihai Parparita <mihaip@chromium.org> · b042a70b
    mihaip@chromium.org authored
            Reviewed by Dimitri Glazkov.
    
            Move asynchronous event dispatching out of Document
            https://bugs.webkit.org/show_bug.cgi?id=49785
    
            Move asynchonous event code out of Document and into a standalone
            EventQueue class (which supports async events for both regular nodes
            and the window object).
    
            No new tests necessary, since no new functionality is exposed (existing
            layout tests pass).
    
            * Android.mk:
            * CMakeLists.txt:
            * GNUmakefile.am:
            * WebCore.gypi:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * dom/Document.cpp:
            (WebCore::Document::Document):
            (WebCore::Document::enqueueWindowEvent):
            (WebCore::Document::enqueueHashchangeEvent):
            * dom/DOMAllInOne.cpp:
            (WebCore::Document::eventQueue):
            * dom/Document.h:
            * dom/EventQueue.cpp: Added.
            (WebCore::EventQueue::EventQueue):
            (WebCore::EventQueue::enqueueEvent):
            (WebCore::EventQueue::pendingEventTimerFired):
            (WebCore::EventQueue::dispatchEvent):
            * dom/EventQueue.h: Added.
            * storage/StorageEventDispatcher.cpp:
            (WebCore::StorageEventDispatcher::dispatch):
    2010-12-14  Mihai Parparita  <mihaip@chromium.org>
    
            Reviewed by Dimitri Glazkov.
    
            Move asynchronous event dispatching out of Document
            https://bugs.webkit.org/show_bug.cgi?id=49785
    
            Change enqueueEvent callsite.
    
            * src/StorageAreaProxy.cpp:
            (WebCore::StorageAreaProxy::storageEvent):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b042a70b