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");
}
Esempio n. 8
0
void InspectorFrontend::resetProfilesPanel()
{
    callSimpleFunction("resetProfilesPanel");
}
Esempio n. 9
0
void InspectorFrontend::didCommitLoad()
{
    callSimpleFunction("didCommitLoad");
}
Esempio n. 10
0
void InspectorFrontend::contextMenuCleared()
{
    callSimpleFunction("contextMenuCleared");
}
Esempio n. 11
0
void InspectorFrontend::timelineProfilerWasStopped()
{
    callSimpleFunction("timelineProfilerWasStopped");
}
Esempio n. 12
0
void InspectorFrontend::monitoringXHRWasDisabled()
{
    callSimpleFunction("monitoringXHRWasDisabled");
}
Esempio n. 13
0
void InspectorFrontend::searchingForNodeWasDisabled()
{
    callSimpleFunction("searchingForNodeWasDisabled");
}
Esempio n. 14
0
void InspectorFrontend::bringToFront()
{
    callSimpleFunction("bringToFront");
}
void InspectorFrontend::pausedScript()
{
    callSimpleFunction("pausedScript");
}
void InspectorFrontend::resumedScript()
{
    callSimpleFunction("resumedScript");
}
Esempio n. 17
0
void InspectorFrontend::clearConsoleMessages()
{
    callSimpleFunction("clearConsoleMessages");
}