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

Unified Diff: third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.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/components/ObjectPropertiesSection.js
diff --git a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
index bd7efffe2ffc5c872ec0f4ba5927c3e06d0b0319..88bc99cfb5182940fd6d51167b2aad403c96c0ef 100644
--- a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
+++ b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
@@ -232,6 +232,9 @@ WebInspector.ObjectPropertiesSection.RootElement.prototype = {
return true;
},
+ /**
+ * @override
+ */
onpopulate: function()
{
WebInspector.ObjectPropertyTreeElement._populate(this, this._object, !!this.treeOutline._skipProto, this._linkifier, this._emptyPlaceholder, this._ignoreHasOwnProperty, this._extraProperties);
@@ -305,6 +308,9 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
this._highlightChanges = [];
},
+ /**
+ * @override
+ */
onpopulate: function()
{
var propertyValue = /** @type {!WebInspector.RemoteObject} */ (this.property.value);
@@ -1012,6 +1018,9 @@ WebInspector.ArrayGroupingTreeElement._populateNonIndexProperties = function(tre
};
WebInspector.ArrayGroupingTreeElement.prototype = {
+ /**
+ * @override
+ */
onpopulate: function()
{
if (this._propertyCount >= WebInspector.ArrayGroupingTreeElement._bucketThreshold) {
@@ -1021,6 +1030,9 @@ WebInspector.ArrayGroupingTreeElement.prototype = {
WebInspector.ArrayGroupingTreeElement._populateAsFragment(this, this._object, this._fromIndex, this._toIndex, this._linkifier);
},
+ /**
+ * @override
+ */
onattach: function()
{
this.listItemElement.classList.add("object-properties-section-name");

Powered by Google App Engine
This is Rietveld 408576698