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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.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/profiler/ProfilesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
index e02334c2617df3b733383e961cb9448da10bea8a..502e7c114417bb30442975062d494deb7a0eb5db 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfilesPanel.js
@@ -907,6 +907,9 @@ WebInspector.ProfilesPanel.prototype = {
contextMenu.appendItem(WebInspector.UIString.capitalize("Reveal in Summary ^view"), revealInView.bind(this, "Summary"));
},
+ /**
+ * @override
+ */
wasShown: function()
{
WebInspector.context.setFlavor(WebInspector.ProfilesPanel, this);
@@ -920,6 +923,9 @@ WebInspector.ProfilesPanel.prototype = {
this._sidebarTree.focus();
},
+ /**
+ * @override
+ */
willHide: function()
{
WebInspector.context.setFlavor(WebInspector.ProfilesPanel, null);

Powered by Google App Engine
This is Rietveld 408576698