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

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

Issue 2347963002: [DevTools] Show distribution for Shadow DOM V1. (Closed)
Patch Set: getDistributedNodes -> iteration 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..fc8c264fbee6d8a73b0470a6766aaa0ee381cb52 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.h
@@ -55,6 +55,7 @@ class Element;
class EventTarget;
class ExceptionState;
class FloatQuad;
+class HTMLSlotElement;
class InsertionPoint;
class InspectedFrames;
class InspectorHistory;
@@ -164,6 +165,7 @@ public:
void didPushShadowRoot(Element* host, ShadowRoot*);
void willPopShadowRoot(Element* host, ShadowRoot*);
void didPerformElementShadowDistribution(Element*);
+ void didPerformSlotDistribution(HTMLSlotElement*);
void frameDocumentUpdated(LocalFrame*);
void pseudoElementCreated(PseudoElement*);
void pseudoElementDestroyed(PseudoElement*);
@@ -220,6 +222,7 @@ private:
std::unique_ptr<protocol::Array<protocol::DOM::Node>> buildArrayForContainerChildren(Node* container, int depth, NodeToIdMap* nodesMap);
std::unique_ptr<protocol::Array<protocol::DOM::Node>> buildArrayForPseudoElements(Element*, NodeToIdMap* nodesMap);
std::unique_ptr<protocol::Array<protocol::DOM::BackendNode>> buildArrayForDistributedNodes(InsertionPoint*);
+ std::unique_ptr<protocol::Array<protocol::DOM::BackendNode>> buildDistributedNodesForSlot(HTMLSlotElement*);
Node* nodeForPath(const String& path);
Node* nodeForRemoteId(ErrorString*, const String& id);

Powered by Google App Engine
This is Rietveld 408576698