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

Unified Diff: Source/devtools/front_end/network/RequestCookiesView.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/network/RequestCookiesView.js
diff --git a/Source/devtools/front_end/network/RequestCookiesView.js b/Source/devtools/front_end/network/RequestCookiesView.js
index 4b22a2685f577df1f11c4a37e6605ed5c09fa0bc..25c5657e5ae57f2cddf4a7162f55a73f377be641 100644
--- a/Source/devtools/front_end/network/RequestCookiesView.js
+++ b/Source/devtools/front_end/network/RequestCookiesView.js
@@ -49,9 +49,9 @@ WebInspector.RequestCookiesView.prototype = {
this._request.addEventListener(WebInspector.NetworkRequest.Events.ResponseHeadersChanged, this._refreshCookies, this);
if (!this._gotCookies) {
- if (!this._emptyView) {
- this._emptyView = new WebInspector.EmptyView(WebInspector.UIString("This request has no cookies."));
- this._emptyView.show(this.element);
+ if (!this._emptyWidget) {
+ this._emptyWidget = new WebInspector.EmptyWidget(WebInspector.UIString("This request has no cookies."));
+ this._emptyWidget.show(this.element);
}
return;
}
@@ -73,7 +73,7 @@ WebInspector.RequestCookiesView.prototype = {
_buildCookiesTable: function()
{
- this.detachChildViews();
+ this.detachChildWidgets();
this._cookiesTable = new WebInspector.CookiesTable(true);
this._cookiesTable.setCookieFolders([
« no previous file with comments | « Source/devtools/front_end/network/NetworkPanel.js ('k') | Source/devtools/front_end/network/RequestPreviewView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698