Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel. · c517ae09
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=91196
    
    Patch by Vivek Galatage <vivekgalatage@gmail.com> on 2012-07-17
    Reviewed by Pavel Feldman.
    
    Source/WebCore:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel. Also refactored
    InspectorController::connectFrontend() to receive
    InspectorFrontendChannel.
    
    No new test as code refactoring done.
    
    * inspector/InspectorClient.h:
    (WebCore):
    (InspectorClient):
    * inspector/InspectorController.cpp:
    (WebCore::InspectorController::InspectorController):
    (WebCore::InspectorController::connectFrontend):
    (WebCore::InspectorController::show):
    (WebCore::InspectorController::reconnectFrontend):
    * inspector/InspectorController.h:
    (WebCore):
    (InspectorController):
    * loader/EmptyClients.h:
    (WebCore::EmptyInspectorClient::openInspectorFrontend):
    (WebCore::EmptyInspectorClient::hideHighlight):
    
    Source/WebKit/blackberry:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
    (BlackBerry::WebKit::WebPagePrivate::init):
    (BlackBerry::WebKit::WebPage::enableWebInspector):
    * Api/WebPage_p.h:
    (WebPagePrivate):
    * WebCoreSupport/InspectorClientBlackBerry.cpp:
    (WebCore::InspectorClientBlackBerry::openInspectorFrontend):
    * WebCoreSupport/InspectorClientBlackBerry.h:
    (InspectorClientBlackBerry):
    
    Source/WebKit/chromium:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * src/InspectorClientImpl.cpp:
    (WebKit::InspectorClientImpl::openInspectorFrontend):
    * src/InspectorClientImpl.h:
    (InspectorClientImpl):
    * src/WebDevToolsAgentImpl.cpp:
    (WebKit::WebDevToolsAgentImpl::reattach):
    (WebKit::WebDevToolsAgentImpl::openInspectorFrontend):
    * src/WebDevToolsAgentImpl.h:
    (WebDevToolsAgentImpl):
    
    Source/WebKit/efl:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebCoreSupport/InspectorClientEfl.cpp:
    (WebCore::InspectorClientEfl::openInspectorFrontend):
    * WebCoreSupport/InspectorClientEfl.h:
    (InspectorClientEfl):
    
    Source/WebKit/gtk:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebCoreSupport/InspectorClientGtk.cpp:
    (WebKit::InspectorClient::openInspectorFrontend):
    * WebCoreSupport/InspectorClientGtk.h:
    (InspectorClient):
    
    Source/WebKit/mac:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebCoreSupport/WebInspectorClient.h:
    (WebInspectorClient):
    * WebCoreSupport/WebInspectorClient.mm:
    (WebInspectorClient::openInspectorFrontend):
    
    Source/WebKit/qt:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebCoreSupport/InspectorClientQt.cpp:
    (WebCore::InspectorClientQt::openInspectorFrontend):
    (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
    * WebCoreSupport/InspectorClientQt.h:
    (InspectorClientQt):
    
    Source/WebKit/win:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebCoreSupport/WebInspectorClient.cpp:
    (WebInspectorClient::openInspectorFrontend):
    * WebCoreSupport/WebInspectorClient.h:
    (WebInspectorClient):
    
    Source/WebKit/wince:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebCoreSupport/InspectorClientWinCE.cpp:
    (WebKit::InspectorClientWinCE::openInspectorFrontend):
    * WebCoreSupport/InspectorClientWinCE.h:
    (InspectorClientWinCE):
    
    Source/WebKit/wx:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebKitSupport/InspectorClientWx.cpp:
    (WebCore::InspectorClientWx::openInspectorFrontend):
    * WebKitSupport/InspectorClientWx.h:
    (InspectorClientWx):
    
    Source/WebKit2:
    
    Refactoring InspectorClients. InspectorClient::openInspectorFrontend
    now returning the InspectorFrontendChannel.
    
    * WebProcess/WebCoreSupport/WebInspectorClient.cpp:
    (WebKit::WebInspectorClient::openInspectorFrontend):
    * WebProcess/WebCoreSupport/WebInspectorClient.h:
    (WebInspectorClient):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c517ae09