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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.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/EventSourceMessagesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js b/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js
index d0cb4edd997009448714e06e25c6754f2e1a55db..233a1ba043360390919b1bdf8572dc79489e934f 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/EventSourceMessagesView.js
@@ -32,6 +32,9 @@ WebInspector.EventSourceMessagesView = function(request)
};
WebInspector.EventSourceMessagesView.prototype = {
+ /**
+ * @override
+ */
wasShown: function()
{
this._dataGrid.rootNode().removeChildren();
@@ -42,6 +45,9 @@ WebInspector.EventSourceMessagesView.prototype = {
this._request.addEventListener(WebInspector.NetworkRequest.Events.EventSourceMessageAdded, this._messageAdded, this);
},
+ /**
+ * @override
+ */
willHide: function()
{
this._request.removeEventListener(WebInspector.NetworkRequest.Events.EventSourceMessageAdded, this._messageAdded, this);

Powered by Google App Engine
This is Rietveld 408576698