| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 void restore() override; | 115 void restore() override; |
| 116 | 116 |
| 117 HeapVector<Member<Document>> documents(); | 117 HeapVector<Member<Document>> documents(); |
| 118 void reset(); | 118 void reset(); |
| 119 | 119 |
| 120 // Methods called from the frontend for DOM nodes inspection. | 120 // Methods called from the frontend for DOM nodes inspection. |
| 121 void enable(ErrorString*) override; | 121 void enable(ErrorString*) override; |
| 122 void disable(ErrorString*) override; | 122 void disable(ErrorString*) override; |
| 123 void getDocument(ErrorString*, | 123 void getDocument(ErrorString*, |
| 124 const Maybe<int>& depth, |
| 125 const Maybe<bool>& traverseFrames, |
| 124 std::unique_ptr<protocol::DOM::Node>* root) override; | 126 std::unique_ptr<protocol::DOM::Node>* root) override; |
| 125 void collectClassNamesFromSubtree( | 127 void collectClassNamesFromSubtree( |
| 126 ErrorString*, | 128 ErrorString*, |
| 127 int nodeId, | 129 int nodeId, |
| 128 std::unique_ptr<protocol::Array<String>>* classNames) override; | 130 std::unique_ptr<protocol::Array<String>>* classNames) override; |
| 129 void requestChildNodes(ErrorString*, | 131 void requestChildNodes(ErrorString*, |
| 130 int nodeId, | 132 int nodeId, |
| 131 const Maybe<int>& depth) override; | 133 const Maybe<int>& depth, |
| 134 const Maybe<bool>& traverseFrames) override; |
| 132 void querySelector(ErrorString*, | 135 void querySelector(ErrorString*, |
| 133 int nodeId, | 136 int nodeId, |
| 134 const String& selector, | 137 const String& selector, |
| 135 int* outNodeId) override; | 138 int* outNodeId) override; |
| 136 void querySelectorAll( | 139 void querySelectorAll( |
| 137 ErrorString*, | 140 ErrorString*, |
| 138 int nodeId, | 141 int nodeId, |
| 139 const String& selector, | 142 const String& selector, |
| 140 std::unique_ptr<protocol::Array<int>>* nodeIds) override; | 143 std::unique_ptr<protocol::Array<int>>* nodeIds) override; |
| 141 void setNodeName(ErrorString*, | 144 void setNodeName(ErrorString*, |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 HashSet<int> m_distributedNodesRequested; | 368 HashSet<int> m_distributedNodesRequested; |
| 366 HashMap<int, int> m_cachedChildCount; | 369 HashMap<int, int> m_cachedChildCount; |
| 367 int m_lastNodeId; | 370 int m_lastNodeId; |
| 368 Member<Document> m_document; | 371 Member<Document> m_document; |
| 369 typedef HeapHashMap<String, HeapVector<Member<Node>>> SearchResults; | 372 typedef HeapHashMap<String, HeapVector<Member<Node>>> SearchResults; |
| 370 SearchResults m_searchResults; | 373 SearchResults m_searchResults; |
| 371 Member<InspectorRevalidateDOMTask> m_revalidateTask; | 374 Member<InspectorRevalidateDOMTask> m_revalidateTask; |
| 372 Member<InspectorHistory> m_history; | 375 Member<InspectorHistory> m_history; |
| 373 Member<DOMEditor> m_domEditor; | 376 Member<DOMEditor> m_domEditor; |
| 374 bool m_suppressAttributeModifiedEvent; | 377 bool m_suppressAttributeModifiedEvent; |
| 378 bool m_traverseFrames; |
| 375 int m_backendNodeIdToInspect; | 379 int m_backendNodeIdToInspect; |
| 376 }; | 380 }; |
| 377 | 381 |
| 378 } // namespace blink | 382 } // namespace blink |
| 379 | 383 |
| 380 #endif // !defined(InspectorDOMAgent_h) | 384 #endif // !defined(InspectorDOMAgent_h) |
| OLD | NEW |