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

Unified Diff: Source/web/InspectorOverlayImpl.cpp

Issue 1212373003: Devtools [LayouEditor]: Show label with size info (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address comments Created 5 years, 6 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/LayoutEditor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/InspectorOverlayImpl.cpp
diff --git a/Source/web/InspectorOverlayImpl.cpp b/Source/web/InspectorOverlayImpl.cpp
index 25008ffac7ab4e7137d46c4e79ff44c1607358d7..48d84dc5b94cfd983e6219a6b70fe8e363b02665 100644
--- a/Source/web/InspectorOverlayImpl.cpp
+++ b/Source/web/InspectorOverlayImpl.cpp
@@ -315,12 +315,12 @@ void InspectorOverlayImpl::drawNodeHighlight()
highlight.appendEventTargetQuads(m_eventTargetNode.get(), m_nodeHighlightConfig);
RefPtr<JSONObject> highlightJSON = highlight.asJSONObject();
+ evaluateInOverlay("drawHighlight", highlightJSON.release());
if (m_layoutEditor) {
RefPtr<JSONObject> layoutEditorInfo = m_layoutEditor->buildJSONInfo();
if (layoutEditorInfo)
- highlightJSON->setObject("layoutEditorInfo", layoutEditorInfo.release());
+ evaluateInOverlay("showLayoutEditor", layoutEditorInfo.release());
}
- evaluateInOverlay("drawHighlight", highlightJSON.release());
}
void InspectorOverlayImpl::drawQuadHighlight()
« no previous file with comments | « Source/core/inspector/LayoutEditor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698