| Index: Source/core/inspector/InspectorDebuggerAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| index 6ba941c690df4fa37b5e796e63aa08a3c2e4ed95..774575e842fe6634f2281e0bd9d638248789dad3 100644
|
| --- a/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| +++ b/Source/core/inspector/InspectorDebuggerAgent.cpp
|
| @@ -1042,6 +1042,17 @@ void InspectorDebuggerAgent::evaluateOnCallFrame(ErrorString* errorString, const
|
| }
|
| }
|
|
|
| +// CUSTOM METHODS FOR DART
|
| +void InspectorDebuggerAgent::getCompletionsOnCallFrame(ErrorString* errorString, const String& callFrameId, const String& expression, RefPtr<TypeBuilder::Array<String>>& result)
|
| +{
|
| + if (dartAgent() && DartInjectedScript::isDartObjectId(callFrameId)) {
|
| + dartAgent()->getCompletionsOnCallFrame(errorString, callFrameId, expression, result);
|
| + return;
|
| + }
|
| + *errorString = "This method is not supported for JavaScript";
|
| +}
|
| +// END CUSTOM METHODS FOR DART
|
| +
|
| void InspectorDebuggerAgent::compileScript(ErrorString* errorString, const String& expression, const String& sourceURL, bool persistScript, const int* executionContextId, TypeBuilder::OptOutput<ScriptId>* scriptId, RefPtr<ExceptionDetails>& exceptionDetails)
|
| {
|
| // Intentionally not supported in Dart.
|
|
|