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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.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/components/DOMBreakpointsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
index 7f7b6ccc1f6afe13c5344f6ba9844150966d6b98..51424e17178a30c108603e213ebf8cd8f335fd65 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -326,7 +326,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
var element = this._breakpointElements[breakpointId];
if (!element)
return;
- this.revealWidget();
+ this.revealView();
element.classList.add("breakpoint-hit");
this._highlightedElement = element;
},
@@ -419,13 +419,13 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
/**
* @constructor
- * @extends {WebInspector.View}
+ * @extends {WebInspector.SimpleView}
* @param {!WebInspector.DOMBreakpointsSidebarPane} pane
* @param {!WebInspector.Panel} panel
*/
WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
{
- WebInspector.View.call(this, WebInspector.UIString("DOM Breakpoints"));
+ WebInspector.SimpleView.call(this, WebInspector.UIString("DOM Breakpoints"));
this.registerRequiredCSS("components/breakpointsList.css");
this._wrappedPane = pane;
@@ -435,7 +435,7 @@ WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = {
wasShown: function()
{
- WebInspector.View.prototype.wasShown.call(this);
+ WebInspector.SimpleView.prototype.wasShown.call(this);
this._reattachBody();
},
@@ -445,7 +445,7 @@ WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = {
this._wrappedPane.show(this.element);
},
- __proto__: WebInspector.View.prototype
+ __proto__: WebInspector.SimpleView.prototype
}
/**

Powered by Google App Engine
This is Rietveld 408576698