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

Unified Diff: Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js

Issue 826713005: DevTools: Highlight changed scope variables as they change (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressing feedback. settings label. Created 5 years, 11 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/sources/WatchExpressionsSidebarPane.js
diff --git a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
index 1180e98e48442091053aaa7e9ada5a931687d40c..649e67b1cb19c6db4c0eeef3d93cd020add125b3 100644
--- a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
+++ b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
@@ -36,7 +36,10 @@ WebInspector.WatchExpressionsSidebarPane = function()
{
WebInspector.SidebarPane.call(this, WebInspector.UIString("Watch Expressions"));
- this.section = new WebInspector.WatchExpressionsSection();
+ /** @type {!WebInspector.ObjectPropertiesMemento} */
+ this.memento = new WebInspector.ObjectPropertiesMemento();
+
+ this.section = new WebInspector.WatchExpressionsSection(this.memento);
this.bodyElement.appendChild(this.section.element);
var refreshButton = this.titleElement.createChild("button", "pane-title-button refresh");
@@ -100,12 +103,16 @@ WebInspector.WatchExpressionsSidebarPane.prototype = {
/**
* @constructor
* @extends {WebInspector.PropertiesSection}
+ * @param {!WebInspector.ObjectPropertiesMemento} memento
*/
-WebInspector.WatchExpressionsSection = function()
+WebInspector.WatchExpressionsSection = function(memento)
{
this._watchObjectGroupId = "watch-group";
WebInspector.PropertiesSection.call(this, "");
+
+ this.memento = memento;
+
this.treeElementConstructor = WebInspector.ObjectPropertyTreeElement;
this.skipProto = false;

Powered by Google App Engine
This is Rietveld 408576698