/**
* @constructor
- * @extends {WebInspector.Panel}
+ * @extends {WebInspector.PanelWithSidebarTree}
*/
WebInspector.AuditsPanel = function()
{
- WebInspector.Panel.call(this, "audits");
+ WebInspector.PanelWithSidebarTree.call(this, "audits");
this.registerRequiredCSS("panelEnablerView.css");
this.registerRequiredCSS("auditsPanel.css");
-
- this.createSidebarViewWithTree();
+ this.setMainElementConstraints(215);
this.auditsTreeElement = new WebInspector.SidebarSectionTreeElement("", {}, true);
this.sidebarTree.appendChild(this.auditsTreeElement);
this._visibleView = x;
if (x)
- this.splitView.setMainView(x);
+ x.show(this.mainElement());
},
wasShown: function()
this.auditResultsTreeElement.removeChildren();
},
- __proto__: WebInspector.Panel.prototype
+ __proto__: WebInspector.PanelWithSidebarTree.prototype
}
/**