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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.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/ProfileLauncherView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
index 0e09b19d7c0de1f530fc4b8e4e1deae9d219bc01..d8ca6940ce75f62db1b95245982a68479b5f5512 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileLauncherView.js
@@ -218,11 +218,17 @@ WebInspector.MultiProfileLauncherView.prototype = {
this.dispatchEventToListeners(WebInspector.MultiProfileLauncherView.Events.ProfileTypeSelected, type);
},
+ /**
+ * @override
+ */
_controlButtonClicked: function()
{
this._panel.toggleRecord();
},
+ /**
+ * @override
+ */
_updateControls: function()
{
WebInspector.ProfileLauncherView.prototype._updateControls.call(this);
@@ -245,12 +251,18 @@ WebInspector.MultiProfileLauncherView.prototype = {
this._selectedProfileTypeSetting.set(profileType.id);
},
+ /**
+ * @override
+ */
profileStarted: function()
{
this._isProfiling = true;
this._updateControls();
},
+ /**
+ * @override
+ */
profileFinished: function()
{
this._isProfiling = false;

Powered by Google App Engine
This is Rietveld 408576698