Skip to content
  • yurys@chromium.org's avatar
    2011-04-15 Yury Semikhatsky <yurys@chromium.org> · 7d4e39b1
    yurys@chromium.org authored
            Reviewed by Pavel Feldman.
    
            Web Inspector: introduce WorkerInspectorController
            https://bugs.webkit.org/show_bug.cgi?id=58668
    
            WorkerInspectorController will be owned by WorkerContext and will hold all inspector
            agents and will also manage connection to the inspector frontend.
    
            * CMakeLists.txt:
            * GNUmakefile.list.am:
            * WebCore.gypi:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * bindings/js/ScriptState.cpp:
            (WebCore::scriptStateFromWorkerContext):
            * bindings/js/ScriptState.h:
            * bindings/v8/ScriptState.cpp:
            (WebCore::scriptStateFromWorkerContext):
            * bindings/v8/ScriptState.h:
            * inspector/InspectorState.cpp:
            (WebCore::InspectorState::updateCookie):
            * inspector/WorkerInspectorController.cpp: Added.
            (WebCore::WorkerInspectorController::WorkerInspectorController):
            (WebCore::WorkerInspectorController::~WorkerInspectorController):
            (WebCore::WorkerInspectorController::connectFrontend):
            (WebCore::WorkerInspectorController::disconnectFrontend):
            (WebCore::WorkerInspectorController::dispatchMessageFromFrontend):
            * inspector/WorkerInspectorController.h: Copied from Source/WebCore/bindings/js/ScriptState.h.
            * workers/WorkerContext.cpp:
            (WebCore::WorkerContext::WorkerContext):
            * workers/WorkerContext.h:
            (WebCore::WorkerContext::workerInspectorController):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7d4e39b1