| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void restartFrame(ErrorString*, v8::Local<v8::Object> callFrames, const Stri
ng& callFrameId); | 95 void restartFrame(ErrorString*, v8::Local<v8::Object> callFrames, const Stri
ng& callFrameId); |
| 96 void getStepInPositions(ErrorString*, v8::Local<v8::Object> callFrames, cons
t String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location
>>& positions); | 96 void getStepInPositions(ErrorString*, v8::Local<v8::Object> callFrames, cons
t String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location
>>& positions); |
| 97 void setVariableValue(ErrorString*, v8::Local<v8::Object> callFrames, const
String* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, cons
t String& variableName, const String& newValueStr); | 97 void setVariableValue(ErrorString*, v8::Local<v8::Object> callFrames, const
String* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, cons
t String& variableName, const String& newValueStr); |
| 98 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB
uilder::Debugger::FunctionDetails>* result); | 98 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB
uilder::Debugger::FunctionDetails>* result); |
| 99 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt
r<TypeBuilder::Debugger::GeneratorObjectDetails>* result); | 99 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt
r<TypeBuilder::Debugger::GeneratorObjectDetails>* result); |
| 100 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB
uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result); | 100 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB
uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result); |
| 101 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty
peBuilder::Runtime::PropertyDescriptor>>* result, RefPtr<TypeBuilder::Debugger::
ExceptionDetails>*); | 101 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty
peBuilder::Runtime::PropertyDescriptor>>* result, RefPtr<TypeBuilder::Debugger::
ExceptionDetails>*); |
| 102 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result, RefPt
r<TypeBuilder::Debugger::ExceptionDetails>*); | 102 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result, RefPt
r<TypeBuilder::Debugger::ExceptionDetails>*); |
| 103 void releaseObject(const String& objectId); | 103 void releaseObject(const String& objectId); |
| 104 | 104 |
| 105 ScriptValue librariesEventListeners(const String& objectId); |
| 106 |
| 105 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra
mes(v8::Local<v8::Object>, int asyncOrdinal); | 107 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra
mes(v8::Local<v8::Object>, int asyncOrdinal); |
| 106 | 108 |
| 107 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; | 109 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; |
| 108 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; | 110 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; |
| 109 v8::Local<v8::Value> findObject(const RemoteObjectId&) const; | 111 v8::Local<v8::Value> findObject(const RemoteObjectId&) const; |
| 110 | 112 |
| 111 String objectIdToObjectGroupName(const String& objectId) const; | 113 String objectIdToObjectGroupName(const String& objectId) const; |
| 112 void releaseObjectGroup(const String&); | 114 void releaseObjectGroup(const String&); |
| 113 | 115 |
| 114 void setCustomObjectFormatterEnabled(bool); | 116 void setCustomObjectFormatterEnabled(bool); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 127 void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* re
sult, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); | 129 void makeCallWithExceptionDetails(ScriptFunctionCall&, RefPtr<JSONValue>* re
sult, RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); |
| 128 | 130 |
| 129 ScriptValue m_injectedScriptObject; | 131 ScriptValue m_injectedScriptObject; |
| 130 InspectedStateAccessCheck m_inspectedStateAccessCheck; | 132 InspectedStateAccessCheck m_inspectedStateAccessCheck; |
| 131 RefPtr<InjectedScriptNative> m_native; | 133 RefPtr<InjectedScriptNative> m_native; |
| 132 }; | 134 }; |
| 133 | 135 |
| 134 } // namespace blink | 136 } // namespace blink |
| 135 | 137 |
| 136 #endif | 138 #endif |
| OLD | NEW |