2010-09-20 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Sep 2010 15:47:06 +0000 (15:47 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Sep 2010 15:47:06 +0000 (15:47 +0000)
commit4a257a69499d9208be79676e2f703a7f7a0c3acc
tree4c716431603b2b43e85c75f332f2ea53878f5370
parentc5c6d8aa9efb6ba45d328d110405d04ae178b111
2010-09-20  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: merge Inspector client runtime events into the serialized inspector state object.

        Drive-by rename getBackendSettings -> getInspectorState to better reflect the nature of the data.

        https://bugs.webkit.org/show_bug.cgi?id=45974

        WebCore:

        * inspector/Inspector.idl:
        * inspector/InspectorClient.h:
        (WebCore::InspectorClient::updateInspectorStateCookie):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::saveApplicationSettings):
        (WebCore::InspectorController::getInspectorState):
        (WebCore::InspectorController::updateInspectorStateCookie):
        (WebCore::InspectorController::restoreInspectorStateFromCookie):
        (WebCore::InspectorController::getSettings):
        (WebCore::InspectorController::setMonitoringXHREnabled):
        (WebCore::InspectorController::restoreDebugger):
        (WebCore::InspectorController::restoreProfiler):
        (WebCore::InspectorController::setResourceTrackingEnabled):
        (WebCore::InspectorController::ensureSettingsLoaded):
        (WebCore::InspectorController::startTimelineProfiler):
        (WebCore::InspectorController::stopTimelineProfiler):
        (WebCore::InspectorController::enableProfiler):
        (WebCore::InspectorController::disableProfiler):
        (WebCore::InspectorController::enableDebuggerFromFrontend):
        (WebCore::InspectorController::disableDebugger):
        * inspector/InspectorController.h:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
        * inspector/front-end/Settings.js:
        (WebInspector.Settings.initialize):
        * inspector/front-end/inspector.js:
        (WebInspector.doLoadedDone.populateInspectorState):
        (WebInspector.doLoadedDone):

        WebKit/chromium:

        * src/InspectorClientImpl.cpp:
        (WebKit::InspectorClientImpl::updateInspectorStateCookie):
        * src/InspectorClientImpl.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
        (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
        (WebKit::WebDevToolsAgentImpl::updateInspectorStateCookie):
        * src/WebDevToolsAgentImpl.h:

        LayoutTests:

        * http/tests/inspector/console-xhr-logging.html:
        * inspector/report-API-errors-expected.txt:
        * inspector/report-API-errors.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/console-xhr-logging.html
LayoutTests/inspector/report-API-errors-expected.txt
LayoutTests/inspector/report-API-errors.html
WebCore/ChangeLog
WebCore/inspector/Inspector.idl
WebCore/inspector/InspectorClient.h
WebCore/inspector/InspectorController.cpp
WebCore/inspector/InspectorController.h
WebCore/inspector/front-end/ConsoleView.js
WebCore/inspector/front-end/ResourcesPanel.js
WebCore/inspector/front-end/Settings.js
WebCore/inspector/front-end/inspector.js
WebKit/chromium/ChangeLog
WebKit/chromium/src/InspectorClientImpl.cpp
WebKit/chromium/src/InspectorClientImpl.h
WebKit/chromium/src/WebDevToolsAgentImpl.cpp
WebKit/chromium/src/WebDevToolsAgentImpl.h