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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. Created 4 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: third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
index bf8f41881ef1ca94ee528af5ee9c8c17861a519f..670bacd0a71a2a1d48685e10e0a5fb6232f25ed2 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ScopeChainSidebarPane.js
@@ -26,14 +26,15 @@
/**
* @constructor
- * @extends {WebInspector.SimpleView}
+ * @extends {WebInspector.VBox}
*/
WebInspector.ScopeChainSidebarPane = function()
{
- WebInspector.SimpleView.call(this, WebInspector.UIString("Scope"));
+ WebInspector.VBox.call(this);
this._expandController = new WebInspector.ObjectPropertiesSectionExpandController();
this._linkifier = new WebInspector.Linkifier();
WebInspector.context.addFlavorChangeListener(WebInspector.DebuggerModel.CallFrame, this._update, this);
dgozman 2016/08/15 21:31:03 Should this be a declarative flavor listener?
+ this._update();
}
WebInspector.ScopeChainSidebarPane._pathSymbol = Symbol("path");
@@ -137,5 +138,5 @@ WebInspector.ScopeChainSidebarPane.prototype = {
_sidebarPaneUpdatedForTest: function() { },
- __proto__: WebInspector.SimpleView.prototype
+ __proto__: WebInspector.VBox.prototype
}

Powered by Google App Engine
This is Rietveld 408576698