OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 void getCompletions(ErrorString*, const String& expression, RefPtr<TypeBuild
er::Array<String> >* out_result); | 127 void getCompletions(ErrorString*, const String& expression, RefPtr<TypeBuild
er::Array<String> >* out_result); |
128 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::Pr
opertyDescriptor> >* result); | 128 void getProperties(ErrorString*, const String& objectId, bool ownProperties,
bool accessorPropertiesOnly, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::Pr
opertyDescriptor> >* result); |
129 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result); | 129 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result); |
130 void getProperty(ErrorString*, const String& objectId, const RefPtr<JSONArra
y>& propertyPath, RefPtr<TypeBuilder::Runtime::RemoteObject>* result, TypeBuilde
r::OptOutput<bool>* wasThrown); | 130 void getProperty(ErrorString*, const String& objectId, const RefPtr<JSONArra
y>& propertyPath, RefPtr<TypeBuilder::Runtime::RemoteObject>* result, TypeBuilde
r::OptOutput<bool>* wasThrown); |
131 | 131 |
132 Node* nodeForObjectId(const String& objectId); | 132 Node* nodeForObjectId(const String& objectId); |
133 void releaseObject(const String& objectId); | 133 void releaseObject(const String& objectId); |
134 | 134 |
135 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const Dart_StackTrace, int asyncOrdinal); | 135 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const Dart_StackTrace, int asyncOrdinal); |
136 | 136 |
137 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false); | |
138 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns); | |
139 | |
140 ScriptValue findObjectById(const String& objectId) const; | 137 ScriptValue findObjectById(const String& objectId) const; |
141 void inspectNode(Node*); | 138 void inspectNode(Node*); |
142 void releaseObjectGroup(const String&); | 139 void releaseObjectGroup(const String&); |
143 | 140 |
144 bool isEmpty() const { return !m_scriptState; } | 141 bool isEmpty() const { return !m_scriptState; } |
145 | 142 |
146 DartScriptState* dartScriptState() const; | 143 DartScriptState* dartScriptState() const; |
147 | 144 |
148 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapDartObject(Dart_Handle, c
onst String& groupName, bool generatePreview = false); | 145 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapDartObject(Dart_Handle, c
onst String& groupName, bool generatePreview = false); |
149 | 146 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 long m_nextObjectId; | 198 long m_nextObjectId; |
202 int m_injectedScriptId; | 199 int m_injectedScriptId; |
203 InjectedScriptHost* m_host; | 200 InjectedScriptHost* m_host; |
204 InjectedScriptManager* m_injectedScriptManager; | 201 InjectedScriptManager* m_injectedScriptManager; |
205 Dart_PersistentHandle m_consoleApi; | 202 Dart_PersistentHandle m_consoleApi; |
206 }; | 203 }; |
207 | 204 |
208 } // namespace blink | 205 } // namespace blink |
209 | 206 |
210 #endif | 207 #endif |
OLD | NEW |