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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.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/sources/RevisionHistoryView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js b/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
index d16641529a76c75ec032c3d079b46b636d43ab8d..4200e1039e964ab67e7f2ddf8f8c45e982c845dc 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/RevisionHistoryView.js
@@ -206,11 +206,17 @@ WebInspector.RevisionHistoryTreeElement = function(revision, baseRevision, allow
};
WebInspector.RevisionHistoryTreeElement.prototype = {
+ /**
+ * @override
+ */
onattach: function()
{
this.listItemElement.classList.add("revision-history-revision");
},
+ /**
+ * @override
+ */
onpopulate: function()
{
this.listItemElement.appendChild(this._revertElement);
@@ -259,6 +265,9 @@ WebInspector.RevisionHistoryTreeElement.prototype = {
}
},
+ /**
+ * @override
+ */
oncollapse: function()
{
this._revertElement.remove();

Powered by Google App Engine
This is Rietveld 408576698