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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.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/EventListenerBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
index 733b963402603a3e7e7788ac866aa55afd15fe49..5876d0b129b0c8d1bababc667df1a8b8dd27c4fa 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/EventListenerBreakpointsSidebarPane.js
@@ -4,12 +4,12 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @implements {WebInspector.TargetManager.Observer}
*/
WebInspector.EventListenerBreakpointsSidebarPane = function()
{
- WebInspector.View.call(this, WebInspector.UIString("Event Listener Breakpoints"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Event Listener Breakpoints"));
this.registerRequiredCSS("components/breakpointsList.css");
this._eventListenerBreakpointsSetting = WebInspector.settings.createLocalSetting("eventListenerBreakpoints", []);
@@ -303,7 +303,7 @@ WebInspector.EventListenerBreakpointsSidebarPane.prototype = {
breakpointItem = this._findBreakpointItem(eventName, WebInspector.EventListenerBreakpointsSidebarPane.eventTargetAny);
if (!breakpointItem)
return;
- this.revealWidget();
+ this.revealView();
breakpointItem.parent.element.expand();
breakpointItem.element.listItemElement.classList.add("breakpoint-hit");
this._highlightedElement = breakpointItem.element.listItemElement;
@@ -344,5 +344,5 @@ WebInspector.EventListenerBreakpointsSidebarPane.prototype = {
}
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698