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

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

Issue 1204453002: Devtools: Create layout editor experiment (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments#2 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
Index: Source/core/inspector/InspectorDOMAgent.cpp
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp
index a16bb309a89066ab8a27e3a215f9b64953b9debe..ef36d892bfd710fe66ea72242a0fb6e85fdeb7cb 100644
--- a/Source/core/inspector/InspectorDOMAgent.cpp
+++ b/Source/core/inspector/InspectorDOMAgent.cpp
@@ -1241,6 +1241,9 @@ PassOwnPtr<InspectorHighlightConfig> InspectorDOMAgent::highlightConfigFromInspe
bool showExtensionLines = false; // Default: false (do not show extension lines).
highlightInspectorObject->getBoolean("showExtensionLines", &showExtensionLines);
highlightConfig->showExtensionLines = showExtensionLines;
+ bool showLayoutEditor = false;
+ highlightInspectorObject->getBoolean("showLayoutEditor", &showLayoutEditor);
+ highlightConfig->showLayoutEditor = showLayoutEditor;
highlightConfig->content = parseConfigColor("contentColor", highlightInspectorObject);
highlightConfig->contentOutline = parseConfigColor("contentOutlineColor", highlightInspectorObject);
highlightConfig->padding = parseConfigColor("paddingColor", highlightInspectorObject);

Powered by Google App Engine
This is Rietveld 408576698