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

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

Issue 2882193002: [devtools] Add DOMSnapshot domain for dom+layout+style snapshots. (Closed)
Patch Set: move to CSS domain, remove getLayoutTreeAndStyles Created 3 years, 7 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/InspectorCSSAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
index 6b381b27aedbc56262d059f67ad30c05756e0639..3c57a1d9a13537a1e338348e9525fc402693ce99 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
@@ -217,8 +217,11 @@ class CORE_EXPORT InspectorCSSAgent final
CSSStyleDeclaration* FindEffectiveDeclaration(
CSSPropertyID,
const HeapVector<Member<CSSStyleDeclaration>>& styles);
- protocol::Response getLayoutTreeAndStyles(
+ protocol::Response getDocumentSnapshot(
std::unique_ptr<protocol::Array<String>> style_whitelist,
+ protocol::Maybe<int> dom_depth,
+ protocol::Maybe<bool> pierce,
+ std::unique_ptr<protocol::Array<protocol::DOM::Node>>* dom_nodes,
std::unique_ptr<protocol::Array<protocol::CSS::LayoutTreeNode>>*
layout_tree_nodes,
std::unique_ptr<protocol::Array<protocol::CSS::ComputedStyle>>*

Powered by Google App Engine
This is Rietveld 408576698