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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/XMLView.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/network/XMLView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/XMLView.js b/third_party/WebKit/Source/devtools/front_end/network/XMLView.js
index 74c46c693a71efedf392e78d0c922ca42a75616e..5589f0141ddb82df3d99330c262cbf096a2d6f5e 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/XMLView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/XMLView.js
@@ -370,21 +370,33 @@ WebInspector.XMLView.Node.prototype = {
this._xmlView._innerPerformSearch(false, false);
},
+ /**
+ * @override
+ */
onattach: function()
{
this.listItemElement.classList.toggle("shadow-xml-view-close-tag", this._closeTag);
},
+ /**
+ * @override
+ */
onexpand: function()
{
this._updateTitle();
},
+ /**
+ * @override
+ */
oncollapse: function()
{
this._updateTitle();
},
+ /**
+ * @override
+ */
onpopulate: function()
{
WebInspector.XMLView.Node.populate(this, this._node, this._xmlView);

Powered by Google App Engine
This is Rietveld 408576698