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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.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/NetworkPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
index 56c6f5aaad9181e419e91decf884d9826bcdc317..2bb8e5912da7bc919f8834fdfc43c6602408f736 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
@@ -360,11 +360,17 @@ WebInspector.NetworkPanel.prototype = {
WebInspector.Panel.prototype.handleShortcut.call(this, event);
},
+ /**
+ * @override
+ */
wasShown: function()
{
WebInspector.context.setFlavor(WebInspector.NetworkPanel, this);
},
+ /**
+ * @override
+ */
willHide: function()
{
WebInspector.context.setFlavor(WebInspector.NetworkPanel, null);

Powered by Google App Engine
This is Rietveld 408576698