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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.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/sources/ObjectEventListenersSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
index 8dafcb1e9852a5f1bc081cc9bcb3b3fee45ad251..ccc04e3edd8ee97397bcaa793436b03ee95af297 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
@@ -4,11 +4,11 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
*/
WebInspector.ObjectEventListenersSidebarPane = function()
{
- WebInspector.View.call(this, "Event Listeners");
+ WebInspector.SimpleView.call(this, "Event Listeners");
this.element.classList.add("event-listeners-sidebar-pane");
this._refreshButton = new WebInspector.ToolbarButton(WebInspector.UIString("Refresh"), "refresh-toolbar-item");
@@ -40,7 +40,7 @@ WebInspector.ObjectEventListenersSidebarPane.prototype = {
wasShown: function()
{
- WebInspector.View.prototype.wasShown.call(this);
+ WebInspector.SimpleView.prototype.wasShown.call(this);
WebInspector.context.addFlavorChangeListener(WebInspector.ExecutionContext, this.update, this);
this._refreshButton.setEnabled(true);
this.update();
@@ -48,7 +48,7 @@ WebInspector.ObjectEventListenersSidebarPane.prototype = {
willHide: function()
{
- WebInspector.View.prototype.willHide.call(this);
+ WebInspector.SimpleView.prototype.willHide.call(this);
WebInspector.context.removeFlavorChangeListener(WebInspector.ExecutionContext, this.update, this);
this._refreshButton.setEnabled(false);
},
@@ -89,5 +89,5 @@ WebInspector.ObjectEventListenersSidebarPane.prototype = {
this.update();
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698