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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result); | 88 void getInternalProperties(ErrorString*, const String& objectId, RefPtr<Type
Builder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result); |
89 Node* nodeForObjectId(const String& objectId); | 89 Node* nodeForObjectId(const String& objectId); |
90 void releaseObject(const String& objectId); | 90 void releaseObject(const String& objectId); |
91 | 91 |
92 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const ScriptValue&, int asyncOrdinal); | 92 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFr
ames(const ScriptValue&, int asyncOrdinal); |
93 | 93 |
94 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; | 94 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&
, const String& groupName, bool generatePreview = false) const; |
95 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; | 95 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapTable(const ScriptValue&
table, const ScriptValue& columns) const; |
96 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String&
groupName); | 96 PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapNode(Node*, const String&
groupName); |
97 ScriptValue findObjectById(const String& objectId) const; | 97 ScriptValue findObjectById(const String& objectId) const; |
98 ScriptValue findCallFrameById(ErrorString*, const ScriptValue& topCallFrame,
const String& callFrameId); | |
99 | 98 |
100 void inspectNode(Node*); | 99 void inspectNode(Node*); |
101 void releaseObjectGroup(const String&); | 100 void releaseObjectGroup(const String&); |
102 | 101 |
103 private: | 102 private: |
104 friend class InjectedScriptModule; | 103 friend class InjectedScriptModule; |
105 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; | 104 friend InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState*)
; |
106 InjectedScript(ScriptValue, InspectedStateAccessCheck); | 105 InjectedScript(ScriptValue, InspectedStateAccessCheck); |
107 | 106 |
108 ScriptValue nodeAsScriptValue(Node*); | 107 ScriptValue nodeAsScriptValue(Node*); |
109 }; | 108 }; |
110 | 109 |
111 | 110 |
112 } // namespace WebCore | 111 } // namespace WebCore |
113 | 112 |
114 #endif | 113 #endif |
OLD | NEW |