Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h

Issue 2346853002: Add a DOM.getLayoutTreeNodes devtools command (Closed)
Patch Set: Pretty print Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
index d249187ec7dc67e18312d540ae32b850977f61fd..da0fe29b3aacbc4a6708d1cf1215e98a44c23dd6 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
@@ -108,6 +108,7 @@ public:
void enable(ErrorString*) override;
void disable(ErrorString*) override;
void getDocument(ErrorString*, std::unique_ptr<protocol::DOM::Node>* root) override;
+ void getRenderTreeNodes(ErrorString*, std::unique_ptr<protocol::Array<protocol::DOM::RenderTreeNode>>* out_renderTreeNodes) override;
void collectClassNamesFromSubtree(ErrorString*, int nodeId, std::unique_ptr<protocol::Array<String>>* classNames) override;
void requestChildNodes(ErrorString*, int nodeId, const Maybe<int>& depth) override;
void querySelector(ErrorString*, int nodeId, const String& selector, int* outNodeId) override;

Powered by Google App Engine
This is Rietveld 408576698