diff options
Diffstat (limited to 'WebCore/inspector/InspectorFrontend.cpp')
-rw-r--r-- | WebCore/inspector/InspectorFrontend.cpp | 51 |
1 files changed, 42 insertions, 9 deletions
diff --git a/WebCore/inspector/InspectorFrontend.cpp b/WebCore/inspector/InspectorFrontend.cpp index c9aa730..cde5a70 100644 --- a/WebCore/inspector/InspectorFrontend.cpp +++ b/WebCore/inspector/InspectorFrontend.cpp @@ -184,14 +184,6 @@ void InspectorFrontend::updateFocusedNode(long nodeId) function.call(); } -void InspectorFrontend::setAttachedWindow(bool attached) -{ - ScriptFunctionCall function(m_webInspector, "dispatch"); - function.appendArgument("setAttachedWindow"); - function.appendArgument(attached); - function.call(); -} - void InspectorFrontend::showPanel(int panel) { const char* showFunctionName; @@ -239,6 +231,11 @@ void InspectorFrontend::reset() callSimpleFunction("reset"); } +void InspectorFrontend::resetProfilesPanel() +{ + callSimpleFunction("resetProfilesPanel"); +} + void InspectorFrontend::bringToFront() { callSimpleFunction("bringToFront"); @@ -262,7 +259,6 @@ void InspectorFrontend::resourceTrackingWasDisabled() callSimpleFunction("resourceTrackingWasDisabled"); } - void InspectorFrontend::searchingForNodeWasEnabled() { callSimpleFunction("searchingForNodeWasEnabled"); @@ -273,6 +269,16 @@ void InspectorFrontend::searchingForNodeWasDisabled() callSimpleFunction("searchingForNodeWasDisabled"); } +void InspectorFrontend::monitoringXHRWasEnabled() +{ + callSimpleFunction("monitoringXHRWasEnabled"); +} + +void InspectorFrontend::monitoringXHRWasDisabled() +{ + callSimpleFunction("monitoringXHRWasDisabled"); +} + void InspectorFrontend::updatePauseOnExceptionsState(long state) { ScriptFunctionCall function(m_webInspector, "dispatch"); @@ -514,6 +520,33 @@ void InspectorFrontend::didChangeTagName(long callId, long nodeId) function.call(); } +void InspectorFrontend::didGetOuterHTML(long callId, const String& outerHTML) +{ + ScriptFunctionCall function(m_webInspector, "dispatch"); + function.appendArgument("didGetOuterHTML"); + function.appendArgument(callId); + function.appendArgument(outerHTML); + function.call(); +} + +void InspectorFrontend::didSetOuterHTML(long callId, long nodeId) +{ + ScriptFunctionCall function(m_webInspector, "dispatch"); + function.appendArgument("didSetOuterHTML"); + function.appendArgument(callId); + function.appendArgument(nodeId); + function.call(); +} + +void InspectorFrontend::didPushNodeByPathToFrontend(long callId, long nodeId) +{ + ScriptFunctionCall function(m_webInspector, "dispatch"); + function.appendArgument("didPushNodeByPathToFrontend"); + function.appendArgument(callId); + function.appendArgument(nodeId); + function.call(); +} + void InspectorFrontend::didGetChildNodes(long callId) { ScriptFunctionCall function(m_webInspector, "dispatch"); |