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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.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/JavaScriptBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
index 00262c3e3783d7bc4058f312e1b778dece479fd6..25c218666ce2eeabb7cd7bae3d5c99940a17ec2e 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptBreakpointsSidebarPane.js
@@ -4,13 +4,13 @@
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.BreakpointManager} breakpointManager
* @param {function(!WebInspector.UISourceCode, number=, number=, boolean=)} showSourceLineDelegate
*/
WebInspector.JavaScriptBreakpointsSidebarPane = function(breakpointManager, showSourceLineDelegate)
{
- WebInspector.View.call(this, WebInspector.UIString("Breakpoints"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("Breakpoints"));
this.registerRequiredCSS("components/breakpointsList.css");
this._breakpointManager = breakpointManager;
@@ -144,7 +144,7 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
return;
breakpointItem.element.classList.add("breakpoint-hit");
this._highlightedBreakpointItem = breakpointItem;
- this.revealWidget();
+ this.revealView();
},
clearBreakpointHighlight: function()
@@ -255,5 +255,5 @@ WebInspector.JavaScriptBreakpointsSidebarPane.prototype = {
this._items.clear();
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}

Powered by Google App Engine
This is Rietveld 408576698