void InspectorFrontend::showPanel(int panel)
{
    const char* showFunctionName;
    switch (panel) {
        case InspectorController::ConsolePanel:
            showFunctionName = "showConsole";
            break;
        case InspectorController::DatabasesPanel:
            showFunctionName = "showDatabasesPanel";
            break;
        case InspectorController::ElementsPanel:
            showFunctionName = "showElementsPanel";
            break;
        case InspectorController::ProfilesPanel:
            showFunctionName = "showProfilesPanel";
            break;
        case InspectorController::ResourcesPanel:
            showFunctionName = "showResourcesPanel";
            break;
        case InspectorController::ScriptsPanel:
            showFunctionName = "showScriptsPanel";
            break;
        default:
            ASSERT_NOT_REACHED();
            showFunctionName = 0;
    }

    if (showFunctionName)
        callSimpleFunction(showFunctionName);
}
void InspectorFrontend::profilerWasDisabled()
{
    callSimpleFunction("profilerWasDisabled");
}
void InspectorFrontend::debuggerWasDisabled()
{
    callSimpleFunction("debuggerWasDisabled");
}
void InspectorFrontend::attachDebuggerWhenShown()
{
    callSimpleFunction("attachDebuggerWhenShown");
}
void InspectorFrontend::resourceTrackingWasDisabled()
{
    callSimpleFunction("resourceTrackingWasDisabled");
}
void InspectorFrontend::reset()
{
    callSimpleFunction("reset");
}
void InspectorFrontend::populateInterface()
{
    callSimpleFunction("populateInterface");
}
Example #8
0
void InspectorFrontend::resetProfilesPanel()
{
    callSimpleFunction("resetProfilesPanel");
}
Example #9
0
void InspectorFrontend::didCommitLoad()
{
    callSimpleFunction("didCommitLoad");
}
Example #10
0
void InspectorFrontend::contextMenuCleared()
{
    callSimpleFunction("contextMenuCleared");
}
Example #11
0
void InspectorFrontend::timelineProfilerWasStopped()
{
    callSimpleFunction("timelineProfilerWasStopped");
}
Example #12
0
void InspectorFrontend::monitoringXHRWasDisabled()
{
    callSimpleFunction("monitoringXHRWasDisabled");
}
Example #13
0
void InspectorFrontend::searchingForNodeWasDisabled()
{
    callSimpleFunction("searchingForNodeWasDisabled");
}
Example #14
0
void InspectorFrontend::bringToFront()
{
    callSimpleFunction("bringToFront");
}
void InspectorFrontend::pausedScript()
{
    callSimpleFunction("pausedScript");
}
void InspectorFrontend::resumedScript()
{
    callSimpleFunction("resumedScript");
}
Example #17
0
void InspectorFrontend::clearConsoleMessages()
{
    callSimpleFunction("clearConsoleMessages");
}