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

Unified Diff: Source/devtools/front_end/resources/FileContentView.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/FileContentView.js
diff --git a/Source/devtools/front_end/resources/FileContentView.js b/Source/devtools/front_end/resources/FileContentView.js
index 2fce501de596325c3db8ae841069e9cafdf4fa6e..1429a16bd63cdff63566a3e287ecd7a7fc68a5fb 100644
--- a/Source/devtools/front_end/resources/FileContentView.js
+++ b/Source/devtools/front_end/resources/FileContentView.js
@@ -37,7 +37,7 @@ WebInspector.FileContentView = function(file)
{
WebInspector.VBox.call(this);
- this._innerView = /** @type {?WebInspector.View} */ (null);
+ this._innerView = /** @type {?WebInspector.Widget} */ (null);
this._file = file;
this._content = null;
}
@@ -47,9 +47,9 @@ WebInspector.FileContentView.prototype = {
{
if (!this._innerView) {
if (this._file.isTextFile)
- this._innerView = new WebInspector.EmptyView("");
+ this._innerView = new WebInspector.EmptyWidget("");
else
- this._innerView = new WebInspector.EmptyView(WebInspector.UIString("Binary File"));
+ this._innerView = new WebInspector.EmptyWidget(WebInspector.UIString("Binary File"));
this.refresh();
}
« no previous file with comments | « Source/devtools/front_end/resources/DatabaseTableView.js ('k') | Source/devtools/front_end/resources/FileSystemView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698