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

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

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: Created 4 years, 1 month 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 acfb722350b827a8b6728600b7877206d6d3f25d..7281d99700b15117162d40fa61677414558d646c 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js
@@ -1064,6 +1064,9 @@ WebInspector.FrameTreeElement.prototype = {
return treeElement ? treeElement._resource : null;
},
+ /**
+ * @override
+ */
appendChild: function(treeElement)
{
this._insertInPresentationOrder(this, treeElement);
@@ -1311,6 +1314,9 @@ WebInspector.ServiceWorkerCacheTreeElement.prototype = {
WebInspector.targetManager.addModelListener(WebInspector.ServiceWorkerCacheModel, WebInspector.ServiceWorkerCacheModel.Events.CacheRemoved, this._cacheRemoved, this);
},
+ /**
+ * @override
+ */
onattach: function()
{
WebInspector.StorageCategoryTreeElement.prototype.onattach.call(this);
@@ -1416,6 +1422,9 @@ WebInspector.SWCacheTreeElement.prototype = {
return "cache://" + this._cache.cacheId;
},
+ /**
+ * @override
+ */
onattach: function()
{
WebInspector.BaseStorageTreeElement.prototype.onattach.call(this);
@@ -1601,6 +1610,9 @@ WebInspector.IndexedDBTreeElement.prototype = {
}
},
+ /**
+ * @override
+ */
onattach: function()
{
WebInspector.StorageCategoryTreeElement.prototype.onattach.call(this);
@@ -1718,6 +1730,9 @@ WebInspector.IDBDatabaseTreeElement.prototype = {
return "indexedDB://" + this._databaseId.securityOrigin + "/" + this._databaseId.name;
},
+ /**
+ * @override
+ */
onattach: function()
{
WebInspector.BaseStorageTreeElement.prototype.onattach.call(this);
@@ -1825,6 +1840,9 @@ WebInspector.IDBObjectStoreTreeElement.prototype = {
return "indexedDB://" + this._databaseId.securityOrigin + "/" + this._databaseId.name + "/" + this._objectStore.name;
},
+ /**
+ * @override
+ */
onattach: function()
{
WebInspector.BaseStorageTreeElement.prototype.onattach.call(this);
@@ -2051,6 +2069,9 @@ WebInspector.CookieTreeElement.prototype = {
return "cookies://" + this._cookieDomain;
},
+ /**
+ * @override
+ */
onattach: function()
{
WebInspector.BaseStorageTreeElement.prototype.onattach.call(this);

Powered by Google App Engine
This is Rietveld 408576698