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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 2153153003: DevTools: remove dead code, disambiguate expand for sections. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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 6c1fa04cdddd0468c12d5ab47cacf580fae3c237..8ac38905b007a97699aef79ab1f7894db926e9a4 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -348,7 +348,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
var element = this._breakpointElements[breakpointId];
if (!element)
return;
- this.expand();
+ this.expandPane();
element.classList.add("breakpoint-hit");
this._highlightedElement = element;
},
@@ -453,7 +453,7 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
*/
WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
{
- WebInspector.SidebarPane.call(this, pane.title());
+ WebInspector.SidebarPane.call(this, WebInspector.UIString("DOM Breakpoints"));
this.registerRequiredCSS("components/breakpointsList.css");
this._wrappedPane = pane;
@@ -461,9 +461,9 @@ WebInspector.DOMBreakpointsSidebarPane.Proxy = function(pane, panel)
}
WebInspector.DOMBreakpointsSidebarPane.Proxy.prototype = {
- expand: function()
+ expandPane: function()
{
- this._wrappedPane.expand();
+ this._wrappedPane.expandPane();
},
onContentReady: function()

Powered by Google App Engine
This is Rietveld 408576698