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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 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/elements/ElementsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
index c934bb8fe24db48032fc29337c65bff0b251ff72..3af1ba3ec5d8aa5ae7b7e932a60683dca87e36c4 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsSidebarPane.js
@@ -4,12 +4,12 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {string} title
*/
WebInspector.ElementsSidebarPane = function(title)
{
- WebInspector.View.call(this, title);
+ WebInspector.SimpleView.call(this, title);
this.element.classList.add("flex-none");
this._computedStyleModel = new WebInspector.ComputedStyleModel();
this._computedStyleModel.addEventListener(WebInspector.ComputedStyleModel.Events.ComputedStyleChanged, this.onCSSModelChanged, this);
@@ -63,7 +63,7 @@ WebInspector.ElementsSidebarPane.prototype = {
wasShown: function()
{
- WebInspector.View.prototype.wasShown.call(this);
+ WebInspector.SimpleView.prototype.wasShown.call(this);
if (this._updateWhenVisible)
this.update();
},
@@ -73,5 +73,5 @@ WebInspector.ElementsSidebarPane.prototype = {
*/
onCSSModelChanged: function(event) { },
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698