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

Unified Diff: Source/devtools/front_end/resources/DatabaseTableView.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/DatabaseTableView.js
diff --git a/Source/devtools/front_end/resources/DatabaseTableView.js b/Source/devtools/front_end/resources/DatabaseTableView.js
index 714af21b489a203740a873687eb94b77152dbce8..85af9e3067166d1041a8f957f385ed184c592d28 100644
--- a/Source/devtools/front_end/resources/DatabaseTableView.js
+++ b/Source/devtools/front_end/resources/DatabaseTableView.js
@@ -74,14 +74,14 @@ WebInspector.DatabaseTableView.prototype = {
_queryFinished: function(columnNames, values)
{
- this.detachChildViews();
+ this.detachChildWidgets();
this.element.removeChildren();
this._dataGrid = WebInspector.SortableDataGrid.create(columnNames, values);
this._visibleColumnsInput.setVisible(!!this._dataGrid);
if (!this._dataGrid) {
- this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("The ā€œ%sā€\ntable is empty.", this.tableName));
- this._emptyView.show(this.element);
+ this._emptyWidget = new WebInspector.EmptyWidget(WebInspector.UIString("The ā€œ%sā€\ntable is empty.", this.tableName));
+ this._emptyWidget.show(this.element);
return;
}
this._dataGrid.show(this.element);
@@ -128,7 +128,7 @@ WebInspector.DatabaseTableView.prototype = {
_queryError: function(error)
{
- this.detachChildViews();
+ this.detachChildWidgets();
this.element.removeChildren();
var errorMsgElement = createElement("div");
« no previous file with comments | « Source/devtools/front_end/resources/DatabaseQueryView.js ('k') | Source/devtools/front_end/resources/FileContentView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698