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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.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/timeline/TimelinePanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
index 4eba6ced8090252ada88093c5c18b8188ffa6fb3..d770f3705176015556952277d41da14cb29b8cca 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -171,11 +171,17 @@ WebInspector.TimelinePanel.prototype = {
return this._searchableView;
},
+ /**
+ * @override
+ */
wasShown: function()
{
WebInspector.context.setFlavor(WebInspector.TimelinePanel, this);
},
+ /**
+ * @override
+ */
willHide: function()
{
WebInspector.context.setFlavor(WebInspector.TimelinePanel, null);
@@ -529,16 +535,16 @@ WebInspector.TimelinePanel.prototype = {
{
// Set up overview controls.
this._overviewControls = [];
- this._overviewControls.push(new WebInspector.TimelineEventOverview.Responsiveness(this._model, this._frameModel));
+ this._overviewControls.push(new WebInspector.TimelineEventOverviewResponsiveness(this._model, this._frameModel));
if (Runtime.experiments.isEnabled("inputEventsOnTimelineOverview"))
- this._overviewControls.push(new WebInspector.TimelineEventOverview.Input(this._model));
- this._overviewControls.push(new WebInspector.TimelineEventOverview.Frames(this._model, this._frameModel));
- this._overviewControls.push(new WebInspector.TimelineEventOverview.CPUActivity(this._model));
- this._overviewControls.push(new WebInspector.TimelineEventOverview.Network(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverviewInput(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverviewFrames(this._model, this._frameModel));
+ this._overviewControls.push(new WebInspector.TimelineEventOverviewCPUActivity(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverviewNetwork(this._model));
if (this._captureFilmStripSetting.get())
this._overviewControls.push(new WebInspector.TimelineFilmStripOverview(this._model, this._filmStripModel));
if (this._captureMemorySetting.get())
- this._overviewControls.push(new WebInspector.TimelineEventOverview.Memory(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverviewMemory(this._model));
this._overviewPane.setOverviewControls(this._overviewControls);
// Set up the main view.

Powered by Google App Engine
This is Rietveld 408576698