Skip to content
  • pfeldman@chromium.org's avatar
    Web Inspector: strip unused InspectorController methods. · 6a1f9523
    pfeldman@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=72886
    
    Source/WebCore:
    
    This is a follow up to the https://bugs.webkit.org/show_bug.cgi?id=63009.
    I am now able to remove following InspectorController methods:
    ::startUserInitiatedProfiling,
    ::isRecordingUserInitiatedProfile,
    ::stopUserInitiatedProfiling,
    ::showAndEnableDebugger,
    ::debuggerEnabled,
    ::disableDebugger,
    ::startTimelineProfiler,
    ::stopTimelineProfiler,
    ::timelineProfilerEnabled,
    ::showConsole.
    
    Reviewed by Yury Semikhatsky.
    
    * WebCore.exp.in:
    * WebCore.order:
    * inspector/Inspector.json:
    * inspector/InspectorAgent.cpp:
    (WebCore::InspectorAgent::setFrontend):
    * inspector/InspectorAgent.h:
    * inspector/InspectorController.cpp:
    (WebCore::InspectorController::InspectorController):
    (WebCore::InspectorController::connectFrontend):
    * inspector/InspectorController.h:
    * inspector/InspectorDebuggerAgent.cpp:
    (WebCore::InspectorDebuggerAgent::enable):
    (WebCore::InspectorDebuggerAgent::disable):
    * inspector/InspectorDebuggerAgent.h:
    * inspector/InspectorInstrumentation.cpp:
    (WebCore::InspectorInstrumentation::didCommitLoadImpl):
    * inspector/InspectorProfilerAgent.cpp:
    (WebCore::InspectorProfilerAgent::resetState):
    (WebCore::InspectorProfilerAgent::clearFrontend):
    (WebCore::InspectorProfilerAgent::restore):
    (WebCore::InspectorProfilerAgent::start):
    (WebCore::InspectorProfilerAgent::stop):
    * inspector/InspectorProfilerAgent.h:
    * inspector/InspectorTimelineAgent.cpp:
    (WebCore::InspectorTimelineAgent::start):
    (WebCore::InspectorTimelineAgent::stop):
    * inspector/InspectorTimelineAgent.h:
    * inspector/front-end/DebuggerModel.js:
    (WebInspector.DebuggerModel.prototype.enableDebugger):
    (WebInspector.DebuggerModel.prototype.disableDebugger):
    * inspector/front-end/TimelineManager.js:
    (WebInspector.TimelineManager.prototype.start):
    (WebInspector.TimelineManager.prototype.stop):
    (WebInspector.TimelineManager.prototype._started):
    (WebInspector.TimelineManager.prototype._stopped):
    * inspector/front-end/inspector.js:
    
    Source/WebKit/gtk:
    
    Reviewed by Yury Semikhatsky.
    
    * webkit/webkitwebinspector.cpp:
    (webkit_web_inspector_set_property):
    (webkit_web_inspector_get_property):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6a1f9523