diff options
Diffstat (limited to 'WebCore/inspector/InspectorFrontend.h')
-rw-r--r-- | WebCore/inspector/InspectorFrontend.h | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/WebCore/inspector/InspectorFrontend.h b/WebCore/inspector/InspectorFrontend.h index e02b661..e32f40c 100644 --- a/WebCore/inspector/InspectorFrontend.h +++ b/WebCore/inspector/InspectorFrontend.h @@ -135,37 +135,16 @@ namespace WebCore { void updateDOMStorage(long storageId); #endif - void setDocument(const ScriptObject& root); - void setDetachedRoot(const ScriptObject& root); - void setChildNodes(long parentId, const ScriptArray& nodes); - void childNodeCountUpdated(long id, int newValue); - void childNodeInserted(long parentId, long prevId, const ScriptObject& node); - void childNodeRemoved(long parentId, long id); - void attributesUpdated(long id, const ScriptArray& attributes); - void didGetChildNodes(long callId); - void didApplyDomChange(long callId, bool success); - void didGetEventListenersForNode(long callId, long nodeId, const ScriptArray& listenersArray); - void didRemoveNode(long callId, long nodeId); - void didChangeTagName(long callId, long nodeId); - void didGetOuterHTML(long callId, const String& outerHTML); - void didSetOuterHTML(long callId, long nodeId); - void didPushNodeByPathToFrontend(long callId, long nodeId); +#if ENABLE(OFFLINE_WEB_APPLICATIONS) + void updateApplicationCacheStatus(int status); + void updateNetworkState(bool isNowOnline); + void didGetApplicationCaches(long callId, const ScriptValue& applicationCaches); +#endif - void didGetStyles(long callId, const ScriptValue& styles); - void didGetAllStyles(long callId, const ScriptArray& styles); - void didGetInlineStyle(long callId, const ScriptValue& style); - void didGetStyleSheet(long callId, const ScriptValue& styleSheet); - void didGetComputedStyle(long callId, const ScriptValue& style); - void didApplyStyleText(long callId, bool success, const ScriptValue& style, const ScriptArray& changedProperties); - void didSetStyleText(long callId, bool success); - void didSetStyleProperty(long callId, bool success); - void didToggleStyleEnabled(long callId, const ScriptValue& style); - void didSetRuleSelector(long callId, const ScriptValue& rule, bool selectorAffectsNode); - void didAddRule(long callId, const ScriptValue& rule, bool selectorAffectsNode); + void didPushNodeByPathToFrontend(long callId, long nodeId); void timelineProfilerWasStarted(); void timelineProfilerWasStopped(); - void addRecordToTimeline(const ScriptObject&); #if ENABLE(WORKERS) void didCreateWorker(const InspectorWorkerResource&); @@ -175,14 +154,13 @@ namespace WebCore { void didGetCookies(long callId, const ScriptArray& cookies, const String& cookiesString); void didDispatchOnInjectedScript(long callId, SerializedScriptValue* result, bool isException); - void addNodesToSearchResult(const ScriptArray& nodeIds); - void contextMenuItemSelected(int itemId); void contextMenuCleared(); ScriptState* scriptState() const { return m_webInspector.scriptState(); } void evaluateForTestInFrontend(long callId, const String& script); + private: void callSimpleFunction(const String& functionName); ScriptObject m_webInspector; |