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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.h

Issue 1378193002: Devtools[LayoutEditor]: Keep LayoutEditor in sync with a node selected in ElementsPanel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/web/InspectorOverlay.h
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.h b/third_party/WebKit/Source/web/InspectorOverlay.h
index 64e5b90be86b567f97a34180cffa86812b150932..389be4b5521683f3cc6fd66fc92d06f380c8012e 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.h
+++ b/third_party/WebKit/Source/web/InspectorOverlay.h
@@ -114,6 +114,7 @@ private:
void highlightNode(Node*, const InspectorHighlightConfig&, bool omitTooltip) override;
void highlightQuad(PassOwnPtr<FloatQuad>, const InspectorHighlightConfig&) override;
void setInspectMode(InspectorDOMAgent::SearchMode, PassOwnPtr<InspectorHighlightConfig>) override;
+ void setInspectedNode(Node*) override;
void highlightNode(Node*, Node* eventTarget, const InspectorHighlightConfig&, bool omitTooltip);
bool isEmpty();
@@ -138,6 +139,7 @@ private:
bool handleMouseMove(const PlatformMouseEvent&);
bool shouldSearchForNode();
void inspect(Node*);
+ void initializeLayoutEditorIfNeeded(Node*);
WebViewImpl* m_webViewImpl;
String m_pausedInDebuggerMessage;

Powered by Google App Engine
This is Rietveld 408576698