Skip to content
  • timothy@apple.com's avatar
    Adds an event loop abstraction to platform. This abstraction will be · a9922b67
    timothy@apple.com authored
    used by the JavaScriptDebugServer to implement pausing.
    
    Reviewed by Kevin McCullough.
    
    * platform/EventLoop.h: Added.
    (WebCore::EventLoop::EventLoop):
    (WebCore::EventLoop::ended): Return m_ended.
    * platform/mac/EventLoopMac.mm: Added.
    (WebCore::EventLoop::cycle): Call nextEventMatchingMask and then sendEvent.
    * platform/win/EventLoopWin.cpp: Added.
    (WebCore::EventLoop::cycle): Call GetMessage, TranslateMessage and DispatchMessage.
    * WebCore.xcodeproj/project.pbxproj: Add new files.
    * WebCore.vcproj/WebCore.vcproj: Ditto.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a9922b67