| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); | 82 RefPtr<TypeBuilder::Debugger::ExceptionDetails>*); |
| 83 void restartFrame(ErrorString*, const ScriptValue& callFrames, const String&
callFrameId, RefPtr<JSONObject>* result); | 83 void restartFrame(ErrorString*, const ScriptValue& callFrames, const String&
callFrameId, RefPtr<JSONObject>* result); |
| 84 void getStepInPositions(ErrorString*, const ScriptValue& callFrames, const S
tring& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >
& positions); | 84 void getStepInPositions(ErrorString*, const ScriptValue& callFrames, const S
tring& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >
& positions); |
| 85 void setVariableValue(ErrorString*, const ScriptValue& callFrames, const Str
ing* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, const S
tring& variableName, const String& newValueStr); | 85 void setVariableValue(ErrorString*, const ScriptValue& callFrames, const Str
ing* callFrameIdOpt, const String* functionObjectIdOpt, int scopeNumber, const S
tring& variableName, const String& newValueStr); |
| 86 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB
uilder::Debugger::FunctionDetails>* result); | 86 void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeB
uilder::Debugger::FunctionDetails>* result); |
| 87 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt
r<TypeBuilder::Debugger::GeneratorObjectDetails>* result); | 87 void getGeneratorObjectDetails(ErrorString*, const String& functionId, RefPt
r<TypeBuilder::Debugger::GeneratorObjectDetails>* result); |
| 88 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB
uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result); | 88 void getCollectionEntries(ErrorString*, const String& objectId, RefPtr<TypeB
uilder::Array<TypeBuilder::Debugger::CollectionEntry> >* result); |
| 89 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty
peBuilder::Runtime::PropertyDescriptor>>* result); | 89 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, bool generatePreview, RefPtr<TypeBuilder::Array<Ty
peBuilder::Runtime::PropertyDescriptor>>* result); |
| 90 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result); | 90 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result); |
| 91 Node* nodeForObjectId(const String& objectId); | 91 Node* nodeForObjectId(const String& objectId); |
| 92 EventTarget* eventTargetForObjectId(const String& objectId); |
| 92 void releaseObject(const String& objectId); | 93 void releaseObject(const String& objectId); |
| 93 | 94 |
| 94 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const ScriptValue&, int asyncOrdinal); | 95 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const ScriptValue&, int asyncOrdinal); |
| 95 | 96 |
| 96 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; | 97 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; |
| 97 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; | 98 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; |
| 98 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String&
groupName); | 99 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String&
groupName); |
| 99 ScriptValue findObjectById(const String& objectId) const; | 100 ScriptValue findObjectById(const String& objectId) const; |
| 100 | 101 |
| 101 void releaseObjectGroup(const String&); | 102 void releaseObjectGroup(const String&); |
| 102 | 103 |
| 103 void setCustomObjectFormatterEnabled(bool); | 104 void setCustomObjectFormatterEnabled(bool); |
| 104 | 105 |
| 105 private: | 106 private: |
| 106 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 107 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
| 107 InjectedScript(ScriptValue, InspectedStateAccessCheck, PassRefPtr<InjectedSc
riptNative>); | 108 InjectedScript(ScriptValue, InspectedStateAccessCheck, PassRefPtr<InjectedSc
riptNative>); |
| 108 | 109 |
| 109 ScriptValue nodeAsScriptValue(Node*); | 110 ScriptValue nodeAsScriptValue(Node*); |
| 110 | 111 |
| 111 RefPtr<InjectedScriptNative> m_native; | 112 RefPtr<InjectedScriptNative> m_native; |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } // namespace blink | 115 } // namespace blink |
| 115 | 116 |
| 116 #endif | 117 #endif |
| OLD | NEW |