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

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

Issue 964493002: DevTools: improve TTIE, do not select body before the target element upon inspect element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: headless test fixed Created 5 years, 10 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
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorDOMAgent.h
diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h
index 2be492fa474da932c5d3c402eb36f418123ef785..f318df057865b4d39742e898f3926bb193f15747 100644
--- a/Source/core/inspector/InspectorDOMAgent.h
+++ b/Source/core/inspector/InspectorDOMAgent.h
@@ -194,6 +194,7 @@ public:
Node* nodeForId(int nodeId);
int boundNodeId(Node*);
void setDOMListener(DOMListener*);
+ void inspect(Node*);
static String documentURLString(Document*);
@@ -237,8 +238,6 @@ private:
Node* assertEditableChildNode(ErrorString*, Element* parentElement, int nodeId);
Element* assertEditableElement(ErrorString*, int nodeId);
- void inspect(Node*);
-
int pushNodePathToFrontend(Node*, NodeToIdMap* nodeMap);
int pushNodePathToFrontend(Node*);
void pushChildNodesToFrontend(int nodeId, int depth = 1);
@@ -285,6 +284,7 @@ private:
OwnPtrWillBeMember<DOMEditor> m_domEditor;
bool m_suppressAttributeModifiedEvent;
RawPtrWillBeMember<Listener> m_listener;
+ int m_backendNodeIdToInspect;
};
« no previous file with comments | « Source/core/inspector/InspectorController.cpp ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698