From 41386e9cb918eed93b3f13648cbef387e371e451 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 20 May 2015 09:56:07 +0000 Subject: webkitgtk-2.4.9 --- 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 bd43f720c..4c58b19e5 100644 --- a/Source/JavaScriptCore/inspector/InjectedScript.h +++ b/Source/JavaScriptCore/inspector/InjectedScript.h @@ -32,9 +32,13 @@ #ifndef InjectedScript_h #define InjectedScript_h +#if ENABLE(INSPECTOR) + #include "InjectedScriptBase.h" +#include "InspectorJSTypeBuilders.h" #include #include +#include #include namespace Deprecated { @@ -52,22 +56,16 @@ public: InjectedScript(Deprecated::ScriptObject, InspectorEnvironment*); virtual ~InjectedScript(); - 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&); - RefPtr wrapObject(const Deprecated::ScriptValue&, const String& groupName, bool generatePreview = false) const; - RefPtr wrapTable(const Deprecated::ScriptValue& table, const Deprecated::ScriptValue& columns) const; + 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 setExceptionValue(const Deprecated::ScriptValue&); - void clearExceptionValue(); + 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; Deprecated::ScriptValue findObjectById(const String& objectId) const; void inspectObject(Deprecated::ScriptValue); @@ -80,4 +78,6 @@ private: } // namespace Inspector +#endif // ENABLE(INSPECTOR) + #endif // InjectedScript_h -- cgit v1.2.1