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

Unified Diff: Source/devtools/front_end/resources/FileSystemView.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
Index: Source/devtools/front_end/resources/FileSystemView.js
diff --git a/Source/devtools/front_end/resources/FileSystemView.js b/Source/devtools/front_end/resources/FileSystemView.js
index f856f8e8a83a70c8fd795b52d0f463ee1060fc25..b34f34d1b9b606db2dd9f7cfb7fa128c00c6c77e 100644
--- a/Source/devtools/front_end/resources/FileSystemView.js
+++ b/Source/devtools/front_end/resources/FileSystemView.js
@@ -30,12 +30,12 @@
/**
* @constructor
- * @extends {WebInspector.SplitView}
+ * @extends {WebInspector.SplitWidget}
* @param {!WebInspector.FileSystemModel.FileSystem} fileSystem
*/
WebInspector.FileSystemView = function(fileSystem)
{
- WebInspector.SplitView.call(this, true, false, "fileSystemViewSplitViewState");
+ WebInspector.SplitWidget.call(this, true, false, "fileSystemViewSplitViewState");
this.element.classList.add("file-system-view", "storage-view");
var vbox = new WebInspector.VBox();
@@ -43,7 +43,7 @@ WebInspector.FileSystemView = function(fileSystem)
this._directoryTree = new TreeOutline();
this._directoryTree.element.classList.add("outline-disclosure", "filesystem-directory-tree");
vbox.element.appendChild(this._directoryTree.element);
- this.setSidebarView(vbox);
+ this.setSidebarWidget(vbox);
var rootItem = new WebInspector.FileSystemView.EntryTreeElement(this, fileSystem.root);
rootItem.expanded = true;
@@ -69,7 +69,7 @@ WebInspector.FileSystemView.prototype = {
},
/**
- * @type {!WebInspector.View}
+ * @type {!WebInspector.Widget}
*/
get visibleView()
{
@@ -77,7 +77,7 @@ WebInspector.FileSystemView.prototype = {
},
/**
- * @param {!WebInspector.View} view
+ * @param {!WebInspector.Widget} view
*/
showView: function(view)
{
@@ -86,7 +86,7 @@ WebInspector.FileSystemView.prototype = {
if (this._visibleView)
this._visibleView.detach();
this._visibleView = view;
- this.setMainView(view);
+ this.setMainWidget(view);
},
_refresh: function()
@@ -105,7 +105,7 @@ WebInspector.FileSystemView.prototype = {
this._directoryTree.selectedTreeElement.deleteEntry();
},
- __proto__: WebInspector.SplitView.prototype
+ __proto__: WebInspector.SplitWidget.prototype
}
/**
« no previous file with comments | « Source/devtools/front_end/resources/FileContentView.js ('k') | Source/devtools/front_end/resources/ResourcesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698