2010-09-16 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Sep 2010 19:13:05 +0000 (19:13 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Sep 2010 19:13:05 +0000 (19:13 +0000)
commit37ec5d8b744148d0cd92bc2d8c50eea4da61498e
tree681dd98be4a75d926fed82f60859b009fe11be36
parent9d4f729104da9298b01507b8377e1d9450c64978
2010-09-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: move resourceTracking flag under control of BackendSettings.

        Four Inspector API methods about resourceTracking flag were removed.
        Actual state of the flag is transfered as the response of setResourceTracking request.
        Initial state of the flag on the frontend side is obtained from settings.backend.

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

        WebCore:

        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::getBackendSettings):
        (WebCore::InspectorController::populateScriptObjects):
        (WebCore::InspectorController::setResourceTracking):
        * inspector/InspectorController.h:
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
        * inspector/front-end/Settings.js:
        (WebInspector.Settings.initialize.populateBackendSettings):
        (WebInspector.Settings.initialize):
        * inspector/front-end/inspector.js:

        WebKit/chromium:

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

        LayoutTests:

        * http/tests/inspector/inspector-test2.js:
        (initialize_InspectorTest.InspectorTest.enableResourceTracking):
        (initialize_InspectorTest.InspectorTest.disableResourceTracking):
        * http/tests/inspector/resource-parameters.html:
        * inspector/audits-panel-functional.html:
        * inspector/report-API-errors-expected.txt:
        * inspector/report-API-errors.html:
        * inspector/styles-source-offsets.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/inspector-test2.js
LayoutTests/http/tests/inspector/resource-parameters.html
LayoutTests/inspector/audits-panel-functional.html
LayoutTests/inspector/report-API-errors-expected.txt
LayoutTests/inspector/report-API-errors.html
LayoutTests/inspector/styles-source-offsets.html
WebCore/ChangeLog
WebCore/inspector/Inspector.idl
WebCore/inspector/InspectorController.cpp
WebCore/inspector/InspectorController.h
WebCore/inspector/front-end/ResourcesPanel.js
WebCore/inspector/front-end/Settings.js
WebCore/inspector/front-end/inspector.js
WebKit/chromium/ChangeLog
WebKit/chromium/src/WebDevToolsAgentImpl.cpp