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

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

Issue 1311783003: Devtools[LayoutEditor]: Rework layout-editor workflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@resize
Patch Set: Created 5 years, 4 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: Source/core/inspector/InspectorDOMAgent.h
diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h
index b2a2bcfb271985872668e1b00f423759b39bc6c5..e79494fb3696b62335396554f500b52c696ecddb 100644
--- a/Source/core/inspector/InspectorDOMAgent.h
+++ b/Source/core/inspector/InspectorDOMAgent.h
@@ -123,7 +123,7 @@ public:
void discardSearchResults(ErrorString*, const String& searchId) override;
void resolveNode(ErrorString*, int nodeId, const String* objectGroup, RefPtr<TypeBuilder::Runtime::RemoteObject>& result) override;
void getAttributes(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<String>>& result) override;
- void setInspectModeEnabled(ErrorString*, bool enabled, const bool* inspectUAShadowDOM, const RefPtr<JSONObject>* highlightConfig) override;
+ void setInspectModeEnabled(ErrorString*, bool enabled, const String* mode, const RefPtr<JSONObject>* highlightConfig) override;
void requestNode(ErrorString*, const String& objectId, int* nodeId) override;
void pushNodeByPathToFrontend(ErrorString*, const String& path, int* nodeId) override;
void pushNodesByBackendIdsToFrontend(ErrorString*, const RefPtr<JSONArray>& nodeIds, RefPtr<TypeBuilder::Array<int>>&) override;
@@ -182,6 +182,8 @@ public:
InspectorHistory* history() { return m_history.get(); }
+ void resumeSearchingForNode(Node*);
+
// We represent embedded doms as a part of the same hierarchy. Hence we treat children of frame owners differently.
// We also skip whitespace text nodes conditionally. Following methods encapsulate these specifics.
static Node* innerFirstChild(Node*);
@@ -196,7 +198,7 @@ public:
Document* assertDocument(ErrorString*, int nodeId);
private:
- enum SearchMode { NotSearching, SearchingForNormal, SearchingForUAShadow };
+ enum SearchMode { NotSearching, SearchingForNormal, SearchingForUAShadow, SearchingInLayoutEditor };
InspectorDOMAgent(InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*);
@@ -262,6 +264,7 @@ private:
OwnPtrWillBeMember<DOMEditor> m_domEditor;
bool m_suppressAttributeModifiedEvent;
int m_backendNodeIdToInspect;
+ bool m_searchingInLayoutEditorPaused;
pfeldman 2015/08/24 23:18:13 m_layoutEditorEnabled
};
« no previous file with comments | « no previous file | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | Source/core/inspector/InspectorOverlayPage.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698