| Index: Source/core/inspector/InspectorDOMAgent.h
|
| diff --git a/Source/core/inspector/InspectorDOMAgent.h b/Source/core/inspector/InspectorDOMAgent.h
|
| index b2a2bcfb271985872668e1b00f423759b39bc6c5..ad90fd631dd05e5dfd7630b654c00c5a794378d9 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_layoutEditorEnabled;
|
| };
|
|
|
|
|
|
|