Chromium Code Reviews| Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
| index c4d5ad3ca64975a7eb3022fe02721e985f138723..7f52e6a359ed9b452020db0d0845ef97e57c1b95 100644 |
| --- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.h |
| @@ -53,15 +53,6 @@ class InjectedScript final { |
| public: |
| ~InjectedScript(); |
| - void callFunctionOn( |
| - ErrorString*, |
| - const String16& objectId, |
| - const String16& expression, |
| - const String16& arguments, |
| - bool returnByValue, |
| - bool generatePreview, |
| - OwnPtr<protocol::Runtime::RemoteObject>* result, |
| - Maybe<bool>* wasThrown); |
| void getFunctionDetails(ErrorString*, const String16& functionId, OwnPtr<protocol::Debugger::FunctionDetails>* result); |
| void getCollectionEntries(ErrorString*, const String16& objectId, OwnPtr<protocol::Array<protocol::Debugger::CollectionEntry>>* result); |
| void getProperties(ErrorString*, const String16& objectId, bool ownProperties, bool accessorPropertiesOnly, bool generatePreview, OwnPtr<protocol::Array<protocol::Runtime::PropertyDescriptor>>* result, Maybe<protocol::Runtime::ExceptionDetails>*); |
| @@ -91,6 +82,7 @@ public: |
| v8::MaybeLocal<v8::Value> resolveCallArgument(ErrorString*, protocol::Runtime::CallArgument*); |
| v8::MaybeLocal<v8::Object> commandLineAPI(ErrorString*); |
| + v8::MaybeLocal<v8::Object> remoteObjectAPI(ErrorString*); |
| PassOwnPtr<protocol::Runtime::ExceptionDetails> createExceptionDetails(v8::Local<v8::Message>); |
| void wrapEvaluateResult(ErrorString*, |
| @@ -110,9 +102,9 @@ private: |
| v8::Local<v8::Value> v8Value() const; |
| v8::Local<v8::Value> callFunctionWithEvalEnabled(V8FunctionCall&, bool& hadException) const; |
| PassOwnPtr<protocol::Value> makeCall(V8FunctionCall&); |
| - PassOwnPtr<protocol::Runtime::RemoteObject> makeEvalCall(ErrorString*, V8FunctionCall&, Maybe<bool>* wasThrown); |
| PassOwnPtr<protocol::Value> makeCallWithExceptionDetails(V8FunctionCall&, Maybe<protocol::Runtime::ExceptionDetails>*); |
| v8::MaybeLocal<v8::Value> wrapValue(ErrorString*, v8::Local<v8::Value>, const String16& groupName, bool forceValueType, bool generatePreview) const; |
| + v8::MaybeLocal<v8::Object> callFunctionWithoutArguments(ErrorString*, const String16& name); |
|
dgozman
2016/03/18 00:38:32
callObjectGetter
kozy
2016/03/18 06:01:55
callFunctionReturnObject
|
| InjectedScriptManager* m_manager; |
| v8::Isolate* m_isolate; |