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

Unified Diff: Source/devtools/front_end/resources/ApplicationCacheItemsView.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/ApplicationCacheItemsView.js
diff --git a/Source/devtools/front_end/resources/ApplicationCacheItemsView.js b/Source/devtools/front_end/resources/ApplicationCacheItemsView.js
index 26a41b962db49a71a10de202cdb676a851d63baa..92b5650d1118b860e172a6887f8c3e39c7032e00 100644
--- a/Source/devtools/front_end/resources/ApplicationCacheItemsView.js
+++ b/Source/devtools/front_end/resources/ApplicationCacheItemsView.js
@@ -51,8 +51,8 @@ WebInspector.ApplicationCacheItemsView = function(model, frameId)
this._frameId = frameId;
- this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("No Application Cache information available."));
- this._emptyView.show(this.element);
+ this._emptyWidget = new WebInspector.EmptyWidget(WebInspector.UIString("No Application Cache information available."));
+ this._emptyWidget.show(this.element);
this._markDirty();
@@ -163,7 +163,7 @@ WebInspector.ApplicationCacheItemsView.prototype = {
delete this._size;
delete this._resources;
- this._emptyView.show(this.element);
+ this._emptyWidget.show(this.element);
this.deleteButton.setVisible(false);
if (this._dataGrid)
this._dataGrid.element.classList.add("hidden");
@@ -182,7 +182,7 @@ WebInspector.ApplicationCacheItemsView.prototype = {
this._populateDataGrid();
this._dataGrid.autoSizeColumns(20, 80);
this._dataGrid.element.classList.remove("hidden");
- this._emptyView.detach();
+ this._emptyWidget.detach();
this.deleteButton.setVisible(true);
// FIXME: For Chrome, put creationTime and updateTime somewhere.
« no previous file with comments | « Source/devtools/front_end/profiler/ProfilesPanel.js ('k') | Source/devtools/front_end/resources/CookieItemsView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698