OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 PassRefPtr<InspectorArray> buildArrayForContainerChildren(Node* container, i
nt depth, NodeToIdMap* nodesMap); | 200 PassRefPtr<InspectorArray> buildArrayForContainerChildren(Node* container, i
nt depth, NodeToIdMap* nodesMap); |
201 PassRefPtr<InspectorObject> buildObjectForEventListener(const RegisteredEven
tListener&, const AtomicString& eventType, Node*); | 201 PassRefPtr<InspectorObject> buildObjectForEventListener(const RegisteredEven
tListener&, const AtomicString& eventType, Node*); |
202 | 202 |
203 void onMatchJobsTimer(Timer<InspectorDOMAgent>*); | 203 void onMatchJobsTimer(Timer<InspectorDOMAgent>*); |
204 void reportNodesAsSearchResults(ListHashSet<Node*>& resultCollector); | 204 void reportNodesAsSearchResults(ListHashSet<Node*>& resultCollector); |
205 | 205 |
206 Node* nodeForPath(const String& path); | 206 Node* nodeForPath(const String& path); |
207 | 207 |
208 void discardBindings(); | 208 void discardBindings(); |
209 | 209 |
210 static bool isContainerNode(const Node&); | |
211 InstrumentingAgents* m_instrumentingAgents; | 210 InstrumentingAgents* m_instrumentingAgents; |
212 InspectorPageAgent* m_pageAgent; | 211 InspectorPageAgent* m_pageAgent; |
213 InspectorClient* m_client; | 212 InspectorClient* m_client; |
214 InspectorState* m_inspectorState; | 213 InspectorState* m_inspectorState; |
215 InjectedScriptManager* m_injectedScriptManager; | 214 InjectedScriptManager* m_injectedScriptManager; |
216 InspectorFrontend::DOM* m_frontend; | 215 InspectorFrontend::DOM* m_frontend; |
217 DOMListener* m_domListener; | 216 DOMListener* m_domListener; |
218 NodeToIdMap m_documentNodeToIdMap; | 217 NodeToIdMap m_documentNodeToIdMap; |
219 // Owns node mappings for dangling nodes. | 218 // Owns node mappings for dangling nodes. |
220 Vector<NodeToIdMap*> m_danglingNodeToIdMaps; | 219 Vector<NodeToIdMap*> m_danglingNodeToIdMaps; |
(...skipping 10 matching lines...) Expand all Loading... |
231 String m_highlightMode; | 230 String m_highlightMode; |
232 RefPtr<Node> m_nodeToFocus; | 231 RefPtr<Node> m_nodeToFocus; |
233 bool m_searchingForNode; | 232 bool m_searchingForNode; |
234 }; | 233 }; |
235 | 234 |
236 #endif // ENABLE(INSPECTOR) | 235 #endif // ENABLE(INSPECTOR) |
237 | 236 |
238 } // namespace WebCore | 237 } // namespace WebCore |
239 | 238 |
240 #endif // !defined(InspectorDOMAgent_h) | 239 #endif // !defined(InspectorDOMAgent_h) |
OLD | NEW |