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

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 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 0c9a41124100e4af1076981c007e6de7a3c60e82..ebc877469d53a583a3fa2492084d34eaa345da12 100644
--- a/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
+++ b/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
@@ -36,7 +36,7 @@ WebInspector.WatchExpressionsSidebarPane = function()
{
WebInspector.SidebarPane.call(this, WebInspector.UIString("Watch Expressions"));
- this.section = new WebInspector.WatchExpressionsSection();
+ this.section = new WebInspector.WatchExpressionsSection(this);
this.bodyElement.appendChild(this.section.element);
var refreshButton = this.titleElement.createChild("button", "pane-title-button refresh");
@@ -100,8 +100,9 @@ WebInspector.WatchExpressionsSidebarPane.prototype = {
/**
* @constructor
* @extends {WebInspector.Section}
+ * @param {!WebInspector.SidebarPane} sidebarPane
*/
-WebInspector.WatchExpressionsSection = function()
+WebInspector.WatchExpressionsSection = function(sidebarPane)
{
this._watchObjectGroupId = "watch-group";
@@ -124,6 +125,7 @@ WebInspector.WatchExpressionsSection = function()
this.element.addEventListener("mouseleave", this._mouseLeave.bind(this), true);
this.element.addEventListener("dblclick", this._sectionDoubleClick.bind(this), false);
this.emptyElement.addEventListener("contextmenu", this._emptyElementContextMenu.bind(this), false);
+ this.pane = sidebarPane;
}
WebInspector.WatchExpressionsSection.NewWatchExpression = "\xA0";

Powered by Google App Engine
This is Rietveld 408576698