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

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

Issue 1286483003: Devtools UI: Update inspect element node description label UI (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase tests 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
« no previous file with comments | « Source/core/inspector/InspectorHighlight.h ('k') | Source/core/inspector/InspectorOverlayPage.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorHighlight.cpp
diff --git a/Source/core/inspector/InspectorHighlight.cpp b/Source/core/inspector/InspectorHighlight.cpp
index b337bc41eb98a933aa014f3fddeb4b8164e8973b..b6a43f0e8d6aad82ac905229370a0bfc3e99ffdd 100644
--- a/Source/core/inspector/InspectorHighlight.cpp
+++ b/Source/core/inspector/InspectorHighlight.cpp
@@ -217,6 +217,7 @@ InspectorHighlight::InspectorHighlight()
: m_highlightPaths(JSONArray::create())
, m_showRulers(false)
, m_showExtensionLines(false)
+ , m_displayAsMaterial(false)
{
}
@@ -225,6 +226,7 @@ InspectorHighlightConfig::InspectorHighlightConfig()
, showRulers(false)
, showExtensionLines(false)
, showLayoutEditor(false)
+ , displayAsMaterial(false)
{
}
@@ -232,6 +234,7 @@ InspectorHighlight::InspectorHighlight(Node* node, const InspectorHighlightConfi
: m_highlightPaths(JSONArray::create())
, m_showRulers(highlightConfig.showRulers)
, m_showExtensionLines(highlightConfig.showExtensionLines)
+ , m_displayAsMaterial(highlightConfig.displayAsMaterial)
{
appendPathsForShapeOutside(node, highlightConfig);
appendNodeHighlight(node, highlightConfig);
@@ -327,6 +330,7 @@ PassRefPtr<JSONObject> InspectorHighlight::asJSONObject() const
object->setBoolean("showExtensionLines", m_showExtensionLines);
if (m_elementInfo)
object->setObject("elementInfo", m_elementInfo);
+ object->setBoolean("displayAsMaterial", m_displayAsMaterial);
return object.release();
}
@@ -444,6 +448,7 @@ InspectorHighlightConfig InspectorHighlight::defaultConfig()
config.showRulers = true;
config.showExtensionLines = true;
config.showLayoutEditor = false;
+ config.displayAsMaterial = false;
return config;
}
« no previous file with comments | « Source/core/inspector/InspectorHighlight.h ('k') | Source/core/inspector/InspectorOverlayPage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698