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

Unified Diff: Source/devtools/front_end/ui/Panel.js

Issue 1113813002: [DevTools] Rename View to Widget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 8 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
« no previous file with comments | « Source/devtools/front_end/ui/Infobar.js ('k') | Source/devtools/front_end/ui/Popover.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/devtools/front_end/ui/Infobar.js ('k') | Source/devtools/front_end/ui/Popover.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698