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

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
index 2f4b83adf842b259ccf0b1c9059b3b5105cd5bcd..acfb722350b827a8b6728600b7877206d6d3f25d 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
@@ -98,7 +98,7 @@ WebInspector.ResourcesPanel = function()
this.panelSidebarElement().addEventListener("mouseleave", this._onmouseleave.bind(this), false);
WebInspector.targetManager.observeTargets(this);
-}
+};
WebInspector.ResourcesPanel.prototype = {
/**
@@ -845,7 +845,7 @@ WebInspector.ResourcesPanel.prototype = {
},
__proto__: WebInspector.PanelWithSidebar.prototype
-}
+};
/**
* @constructor
@@ -853,7 +853,7 @@ WebInspector.ResourcesPanel.prototype = {
*/
WebInspector.ResourcesPanel.ResourceRevealer = function()
{
-}
+};
WebInspector.ResourcesPanel.ResourceRevealer.prototype = {
/**
@@ -868,7 +868,7 @@ WebInspector.ResourcesPanel.ResourceRevealer.prototype = {
var panel = WebInspector.ResourcesPanel._instance();
return WebInspector.viewManager.showView("resources").then(panel.showResource.bind(panel, resource));
}
-}
+};
/**
* @constructor
@@ -889,7 +889,7 @@ WebInspector.BaseStorageTreeElement = function(storagePanel, title, iconClasses,
this._iconClasses = iconClasses;
if (!noIcon)
this.createIcon();
-}
+};
WebInspector.BaseStorageTreeElement.prototype = {
/**
@@ -907,7 +907,7 @@ WebInspector.BaseStorageTreeElement.prototype = {
},
__proto__: TreeElement.prototype
-}
+};
/**
* @constructor
@@ -923,7 +923,7 @@ WebInspector.StorageCategoryTreeElement = function(storagePanel, categoryName, s
WebInspector.BaseStorageTreeElement.call(this, storagePanel, categoryName, iconClasses, false, noIcon);
this._expandedSetting = WebInspector.settings.createSetting("resources" + settingsKey + "Expanded", settingsKey === "Frames");
this._categoryName = categoryName;
-}
+};
WebInspector.StorageCategoryTreeElement.prototype = {
/**
@@ -977,7 +977,7 @@ WebInspector.StorageCategoryTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -990,7 +990,7 @@ WebInspector.FrameTreeElement = function(storagePanel, frame)
WebInspector.BaseStorageTreeElement.call(this, storagePanel, "", ["navigator-tree-item", "navigator-frame-tree-item"]);
this._frame = frame;
this.frameNavigated(frame);
-}
+};
WebInspector.FrameTreeElement.prototype = {
frameNavigated: function(frame)
@@ -1106,7 +1106,7 @@ WebInspector.FrameTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1121,7 +1121,7 @@ WebInspector.FrameResourceTreeElement = function(storagePanel, resource)
this._resource = resource;
this.tooltip = resource.url;
this._resource[WebInspector.FrameResourceTreeElement._symbol] = this;
-}
+};
WebInspector.FrameResourceTreeElement._symbol = Symbol("treeElement");
@@ -1195,7 +1195,7 @@ WebInspector.FrameResourceTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1207,7 +1207,7 @@ WebInspector.DatabaseTreeElement = function(storagePanel, database)
{
WebInspector.BaseStorageTreeElement.call(this, storagePanel, database.name, ["database-tree-item", "resource-tree-item"], true);
this._database = database;
-}
+};
WebInspector.DatabaseTreeElement.prototype = {
get itemURL()
@@ -1252,7 +1252,7 @@ WebInspector.DatabaseTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1263,7 +1263,7 @@ WebInspector.DatabaseTableTreeElement = function(storagePanel, database, tableNa
WebInspector.BaseStorageTreeElement.call(this, storagePanel, tableName, ["table-tree-item", "resource-tree-item"]);
this._database = database;
this._tableName = tableName;
-}
+};
WebInspector.DatabaseTableTreeElement.prototype = {
get itemURL()
@@ -1283,7 +1283,7 @@ WebInspector.DatabaseTableTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
@@ -1294,7 +1294,7 @@ WebInspector.DatabaseTableTreeElement.prototype = {
WebInspector.ServiceWorkerCacheTreeElement = function(storagePanel)
{
WebInspector.StorageCategoryTreeElement.call(this, storagePanel, WebInspector.UIString("Cache Storage"), "CacheStorage", ["database-tree-item", "resource-tree-item"]);
-}
+};
WebInspector.ServiceWorkerCacheTreeElement.prototype = {
_initialize: function()
@@ -1393,7 +1393,7 @@ WebInspector.ServiceWorkerCacheTreeElement.prototype = {
},
__proto__: WebInspector.StorageCategoryTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1407,7 +1407,7 @@ WebInspector.SWCacheTreeElement = function(storagePanel, model, cache)
WebInspector.BaseStorageTreeElement.call(this, storagePanel, cache.cacheName + " - " + cache.securityOrigin, ["table-tree-item", "resource-tree-item"]);
this._model = model;
this._cache = cache;
-}
+};
WebInspector.SWCacheTreeElement.prototype = {
get itemURL()
@@ -1465,7 +1465,7 @@ WebInspector.SWCacheTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
@@ -1476,7 +1476,7 @@ WebInspector.SWCacheTreeElement.prototype = {
WebInspector.ServiceWorkersTreeElement = function(storagePanel)
{
WebInspector.BaseStorageTreeElement.call(this, storagePanel, WebInspector.UIString("Service Workers"), ["service-worker-tree-item", "resource-tree-item"], false);
-}
+};
WebInspector.ServiceWorkersTreeElement.prototype = {
/**
@@ -1501,7 +1501,7 @@ WebInspector.ServiceWorkersTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1511,7 +1511,7 @@ WebInspector.ServiceWorkersTreeElement.prototype = {
WebInspector.AppManifestTreeElement = function(storagePanel)
{
WebInspector.BaseStorageTreeElement.call(this, storagePanel, WebInspector.UIString("Manifest"), ["manifest-tree-item", "resource-tree-item"], false, false);
-}
+};
WebInspector.AppManifestTreeElement.prototype = {
/**
@@ -1536,7 +1536,7 @@ WebInspector.AppManifestTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1546,7 +1546,7 @@ WebInspector.AppManifestTreeElement.prototype = {
WebInspector.ClearStorageTreeElement = function(storagePanel)
{
WebInspector.BaseStorageTreeElement.call(this, storagePanel, WebInspector.UIString("Clear storage"), ["clear-storage-tree-item", "resource-tree-item"], false, false);
-}
+};
WebInspector.ClearStorageTreeElement.prototype = {
/**
@@ -1571,7 +1571,7 @@ WebInspector.ClearStorageTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1581,7 +1581,7 @@ WebInspector.ClearStorageTreeElement.prototype = {
WebInspector.IndexedDBTreeElement = function(storagePanel)
{
WebInspector.StorageCategoryTreeElement.call(this, storagePanel, WebInspector.UIString("IndexedDB"), "IndexedDB", ["database-tree-item", "resource-tree-item"]);
-}
+};
WebInspector.IndexedDBTreeElement.prototype = {
_initialize: function()
@@ -1651,7 +1651,7 @@ WebInspector.IndexedDBTreeElement.prototype = {
var databaseId = /** @type {!WebInspector.IndexedDBModel.DatabaseId} */ (event.data);
var model = /** @type {!WebInspector.IndexedDBModel} */ (event.target);
- var idbDatabaseTreeElement = this._idbDatabaseTreeElement(model, databaseId)
+ var idbDatabaseTreeElement = this._idbDatabaseTreeElement(model, databaseId);
if (!idbDatabaseTreeElement)
return;
@@ -1695,7 +1695,7 @@ WebInspector.IndexedDBTreeElement.prototype = {
},
__proto__: WebInspector.StorageCategoryTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1710,7 +1710,7 @@ WebInspector.IDBDatabaseTreeElement = function(storagePanel, model, databaseId)
this._model = model;
this._databaseId = databaseId;
this._idbObjectStoreTreeElements = {};
-}
+};
WebInspector.IDBDatabaseTreeElement.prototype = {
get itemURL()
@@ -1801,7 +1801,7 @@ WebInspector.IDBDatabaseTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1817,7 +1817,7 @@ WebInspector.IDBObjectStoreTreeElement = function(storagePanel, model, databaseI
this._model = model;
this._databaseId = databaseId;
this._idbIndexTreeElements = {};
-}
+};
WebInspector.IDBObjectStoreTreeElement.prototype = {
get itemURL()
@@ -1931,7 +1931,7 @@ WebInspector.IDBObjectStoreTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -1949,7 +1949,7 @@ WebInspector.IDBIndexTreeElement = function(storagePanel, model, databaseId, obj
this._databaseId = databaseId;
this._objectStore = objectStore;
this._index = index;
-}
+};
WebInspector.IDBIndexTreeElement.prototype = {
get itemURL()
@@ -2003,7 +2003,7 @@ WebInspector.IDBIndexTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -2013,7 +2013,7 @@ WebInspector.DOMStorageTreeElement = function(storagePanel, domStorage)
{
WebInspector.BaseStorageTreeElement.call(this, storagePanel, domStorage.securityOrigin ? domStorage.securityOrigin : WebInspector.UIString("Local Files"), ["table-tree-item", "resource-tree-item"]);
this._domStorage = domStorage;
-}
+};
WebInspector.DOMStorageTreeElement.prototype = {
get itemURL()
@@ -2033,7 +2033,7 @@ WebInspector.DOMStorageTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -2043,7 +2043,7 @@ WebInspector.CookieTreeElement = function(storagePanel, cookieDomain)
{
WebInspector.BaseStorageTreeElement.call(this, storagePanel, cookieDomain ? cookieDomain : WebInspector.UIString("Local Files"), ["cookie-tree-item", "resource-tree-item"]);
this._cookieDomain = cookieDomain;
-}
+};
WebInspector.CookieTreeElement.prototype = {
get itemURL()
@@ -2087,7 +2087,7 @@ WebInspector.CookieTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -2099,7 +2099,7 @@ WebInspector.ApplicationCacheManifestTreeElement = function(storagePanel, manife
WebInspector.BaseStorageTreeElement.call(this, storagePanel, title, ["application-cache-storage-tree-item"]);
this.tooltip = manifestURL;
this._manifestURL = manifestURL;
-}
+};
WebInspector.ApplicationCacheManifestTreeElement.prototype = {
get itemURL()
@@ -2124,7 +2124,7 @@ WebInspector.ApplicationCacheManifestTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -2139,7 +2139,7 @@ WebInspector.ApplicationCacheFrameTreeElement = function(storagePanel, frameId,
this._frameId = frameId;
this._manifestURL = manifestURL;
this._refreshTitles();
-}
+};
WebInspector.ApplicationCacheFrameTreeElement.prototype = {
get itemURL()
@@ -2181,7 +2181,7 @@ WebInspector.ApplicationCacheFrameTreeElement.prototype = {
},
__proto__: WebInspector.BaseStorageTreeElement.prototype
-}
+};
/**
* @constructor
@@ -2194,7 +2194,7 @@ WebInspector.StorageCategoryView = function()
this.element.classList.add("storage-view");
this._emptyWidget = new WebInspector.EmptyWidget("");
this._emptyWidget.show(this.element);
-}
+};
WebInspector.StorageCategoryView.prototype = {
setText: function(text)
@@ -2203,7 +2203,7 @@ WebInspector.StorageCategoryView.prototype = {
},
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @return {!WebInspector.ResourcesPanel}
@@ -2211,4 +2211,4 @@ WebInspector.StorageCategoryView.prototype = {
WebInspector.ResourcesPanel._instance = function()
{
return /** @type {!WebInspector.ResourcesPanel} */ (self.runtime.sharedInstance(WebInspector.ResourcesPanel));
-}
+};

Powered by Google App Engine
This is Rietveld 408576698