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

Unified Diff: Source/devtools/front_end/elements/StylesSidebarPane.js

Issue 1310433002: Devtools: [LayoutEditor] highlight changed value in the SSP (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address comments 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
Index: Source/devtools/front_end/elements/StylesSidebarPane.js
diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
index 6ba5681be5c60907561eefc1d2e4149ee8cb997b..6298a503077ea9e4f19a304a1917bcbbbef03f8f 100644
--- a/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -62,6 +62,7 @@ WebInspector.StylesSidebarPane = function(requestShowCallback)
this.element.addEventListener("mousemove", this._mouseMovedOverElement.bind(this), false);
this._keyDownBound = this._keyDown.bind(this);
this._keyUpBound = this._keyUp.bind(this);
+ new WebInspector.PropertyChangeHighlighter(this);
}
// Keep in sync with ComputedStyleConstants.h PseudoId enum. Array below contains pseudo id names for corresponding enum indexes.
@@ -847,6 +848,14 @@ WebInspector.StylesSidebarPane.prototype = {
}
},
+ /**
+ * @return {!Array<!WebInspector.SectionBlock>}
+ */
+ sectionBlocks: function()
+ {
+ return this._sectionBlocks || [];
+ },
+
__proto__: WebInspector.ElementsSidebarPane.prototype
}
« no previous file with comments | « Source/devtools/front_end/elements/PropertyChangeHighlighter.js ('k') | Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698