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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 const String& callFrameId, | 74 const String& callFrameId, |
75 const String& expression, | 75 const String& expression, |
76 const String& objectGroup, | 76 const String& objectGroup, |
77 bool includeCommandLineAPI, | 77 bool includeCommandLineAPI, |
78 bool returnByValue, | 78 bool returnByValue, |
79 bool generatePreview, | 79 bool generatePreview, |
80 RefPtr<TypeBuilder::Runtime::RemoteObject>* result, | 80 RefPtr<TypeBuilder::Runtime::RemoteObject>* result, |
81 TypeBuilder::OptOutput<bool>* wasThrown, | 81 TypeBuilder::OptOutput<bool>* wasThrown, |
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, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::Pr
opertyDescriptor> >* result); | 89 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::Pr
opertyDescriptor>>* 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 void releaseObject(const String& objectId); | 92 void releaseObject(const String& objectId); |
93 | 93 |
94 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const ScriptValue&, int asyncOrdinal); | 94 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFra
mes(const ScriptValue&, int asyncOrdinal); |
95 | 95 |
96 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; | 96 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; | 97 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; |
98 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String&
groupName); | 98 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String&
groupName); |
99 ScriptValue findObjectById(const String& objectId) const; | 99 ScriptValue findObjectById(const String& objectId) const; |
100 | 100 |
101 void inspectNode(Node*); | 101 void inspectNode(Node*); |
102 void releaseObjectGroup(const String&); | 102 void releaseObjectGroup(const String&); |
103 | 103 |
104 void setLastEvaluationResult(const String& objectId); | 104 void setLastEvaluationResult(const String& objectId); |
105 void setCustomObjectFormatterEnabled(bool); | 105 void setCustomObjectFormatterEnabled(bool); |
106 | 106 |
107 private: | 107 private: |
108 friend class InjectedScriptModule; | 108 friend class InjectedScriptModule; |
109 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 109 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
110 InjectedScript(ScriptValue, InspectedStateAccessCheck); | 110 InjectedScript(ScriptValue, InspectedStateAccessCheck); |
111 | 111 |
112 ScriptValue nodeAsScriptValue(Node*); | 112 ScriptValue nodeAsScriptValue(Node*); |
113 }; | 113 }; |
114 | 114 |
115 | 115 |
116 } // namespace blink | 116 } // namespace blink |
117 | 117 |
118 #endif | 118 #endif |
OLD | NEW |