From a4e969f4965059196ca948db781e52f7cfebf19e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 24 May 2016 08:28:08 +0000 Subject: webkitgtk-2.12.3 --- Source/JavaScriptCore/inspector/InjectedScript.h | 30 ++++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'Source/JavaScriptCore/inspector/InjectedScript.h') diff --git a/Source/JavaScriptCore/inspector/InjectedScript.h b/Source/JavaScriptCore/inspector/InjectedScript.h index 4c58b19e5..509cd58d4 100644 --- a/Source/JavaScriptCore/inspector/InjectedScript.h +++ b/Source/JavaScriptCore/inspector/InjectedScript.h @@ -32,13 +32,9 @@ #ifndef InjectedScript_h #define InjectedScript_h -#if ENABLE(INSPECTOR) - #include "InjectedScriptBase.h" -#include "InspectorJSTypeBuilders.h" #include #include -#include #include namespace Deprecated { @@ -56,16 +52,22 @@ public: InjectedScript(Deprecated::ScriptObject, InspectorEnvironment*); virtual ~InjectedScript(); - void evaluate(ErrorString*, const String& expression, const String& objectGroup, bool includeCommandLineAPI, bool returnByValue, bool generatePreview, RefPtr* result, TypeBuilder::OptOutput* wasThrown); - void callFunctionOn(ErrorString*, const String& objectId, const String& expression, const String& arguments, bool returnByValue, bool generatePreview, RefPtr* result, TypeBuilder::OptOutput* wasThrown); - void evaluateOnCallFrame(ErrorString*, const Deprecated::ScriptValue& callFrames, const String& callFrameId, const String& expression, const String& objectGroup, bool includeCommandLineAPI, bool returnByValue, bool generatePreview, RefPtr* result, TypeBuilder::OptOutput* wasThrown); - void getFunctionDetails(ErrorString*, const String& functionId, RefPtr* result); - void getProperties(ErrorString*, const String& objectId, bool ownProperties, RefPtr>* result); - void getInternalProperties(ErrorString*, const String& objectId, RefPtr>* result); + void evaluate(ErrorString&, const String& expression, const String& objectGroup, bool includeCommandLineAPI, bool returnByValue, bool generatePreview, bool saveResult, RefPtr* result, Protocol::OptOutput* wasThrown, Inspector::Protocol::OptOutput* savedResultIndex); + void callFunctionOn(ErrorString&, const String& objectId, const String& expression, const String& arguments, bool returnByValue, bool generatePreview, RefPtr* result, Protocol::OptOutput* wasThrown); + void evaluateOnCallFrame(ErrorString&, const Deprecated::ScriptValue& callFrames, const String& callFrameId, const String& expression, const String& objectGroup, bool includeCommandLineAPI, bool returnByValue, bool generatePreview, bool saveResult, RefPtr* result, Protocol::OptOutput* wasThrown, Inspector::Protocol::OptOutput* savedResultIndex); + void getFunctionDetails(ErrorString&, const String& functionId, RefPtr* result); + void getProperties(ErrorString&, const String& objectId, bool ownProperties, bool generatePreview, RefPtr>* result); + void getDisplayableProperties(ErrorString&, const String& objectId, bool generatePreview, RefPtr>* result); + void getInternalProperties(ErrorString&, const String& objectId, bool generatePreview, RefPtr>* result); + void getCollectionEntries(ErrorString&, const String& objectId, const String& objectGroup, int startIndex, int numberToFetch, RefPtr>* entries); + void saveResult(ErrorString&, const String& callArgumentJSON, Inspector::Protocol::OptOutput* savedResultIndex); + + Ref> wrapCallFrames(const Deprecated::ScriptValue&) const; + RefPtr wrapObject(const Deprecated::ScriptValue&, const String& groupName, bool generatePreview = false) const; + RefPtr wrapTable(const Deprecated::ScriptValue& table, const Deprecated::ScriptValue& columns) const; - PassRefPtr> wrapCallFrames(const Deprecated::ScriptValue&); - PassRefPtr wrapObject(const Deprecated::ScriptValue&, const String& groupName, bool generatePreview = false) const; - PassRefPtr wrapTable(const Deprecated::ScriptValue& table, const Deprecated::ScriptValue& columns) const; + void setExceptionValue(const Deprecated::ScriptValue&); + void clearExceptionValue(); Deprecated::ScriptValue findObjectById(const String& objectId) const; void inspectObject(Deprecated::ScriptValue); @@ -78,6 +80,4 @@ private: } // namespace Inspector -#endif // ENABLE(INSPECTOR) - #endif // InjectedScript_h -- cgit v1.2.1