Index: Source/devtools/front_end/ui/Panel.js |
diff --git a/Source/devtools/front_end/ui/Panel.js b/Source/devtools/front_end/ui/Panel.js |
index dc87edcb6696b4b0d9f718461fd49e013dd9e373..e2d05142bd36bb218272bbc7fecc9fa3bda0bc67 100644 |
--- a/Source/devtools/front_end/ui/Panel.js |
+++ b/Source/devtools/front_end/ui/Panel.js |
@@ -149,17 +149,17 @@ WebInspector.PanelWithSidebar = function(name, defaultWidth) |
{ |
WebInspector.Panel.call(this, name); |
- this._panelSplitView = new WebInspector.SplitView(true, false, this._panelName + "PanelSplitViewState", defaultWidth || 200); |
- this._panelSplitView.show(this.element); |
+ this._panelSplitWidget = new WebInspector.SplitWidget(true, false, this._panelName + "PanelSplitViewState", defaultWidth || 200); |
+ this._panelSplitWidget.show(this.element); |
- this._mainView = new WebInspector.VBox(); |
- this._panelSplitView.setMainView(this._mainView); |
+ this._mainWidget = new WebInspector.VBox(); |
+ this._panelSplitWidget.setMainWidget(this._mainWidget); |
- this._sidebarView = new WebInspector.VBox(); |
- this._sidebarView.setMinimumSize(100, 25); |
- this._panelSplitView.setSidebarView(this._sidebarView); |
+ this._sidebarWidget = new WebInspector.VBox(); |
+ this._sidebarWidget.setMinimumSize(100, 25); |
+ this._panelSplitWidget.setSidebarWidget(this._sidebarWidget); |
- this._sidebarView.element.classList.add("sidebar"); |
+ this._sidebarWidget.element.classList.add("sidebar"); |
} |
WebInspector.PanelWithSidebar.prototype = { |
@@ -168,7 +168,7 @@ WebInspector.PanelWithSidebar.prototype = { |
*/ |
panelSidebarElement: function() |
{ |
- return this._sidebarView.element; |
+ return this._sidebarWidget.element; |
}, |
/** |
@@ -176,15 +176,15 @@ WebInspector.PanelWithSidebar.prototype = { |
*/ |
mainElement: function() |
{ |
- return this._mainView.element; |
+ return this._mainWidget.element; |
}, |
/** |
- * @return {!WebInspector.SplitView} |
+ * @return {!WebInspector.SplitWidget} |
*/ |
- splitView: function() |
+ splitWidget: function() |
{ |
- return this._panelSplitView; |
+ return this._panelSplitWidget; |
}, |
__proto__: WebInspector.Panel.prototype |