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

Unified Diff: Source/devtools/front_end/timeline/TimelinePanel.js

Issue 1211993002: DevTools: Refactor: Split timeline overview strips into components (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months 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: Source/devtools/front_end/timeline/TimelinePanel.js
diff --git a/Source/devtools/front_end/timeline/TimelinePanel.js b/Source/devtools/front_end/timeline/TimelinePanel.js
index 81bfb2aebbdbcfb90ebdc4a35f0612e8352d0d15..222617cf6e181503297620d71d364987bb1efff2 100644
--- a/Source/devtools/front_end/timeline/TimelinePanel.js
+++ b/Source/devtools/front_end/timeline/TimelinePanel.js
@@ -602,7 +602,13 @@ WebInspector.TimelinePanel.prototype = {
this._overviewControls.push(this._frameOverview);
} else {
this._frameOverview = null;
- this._overviewControls.push(new WebInspector.TimelineEventOverview(this._model, this._frameModel()));
+ if (Runtime.experiments.isEnabled("inputEventsOnTimelineOverview"))
+ this._overviewControls.push(new WebInspector.TimelineEventOverview.Input(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverview.Network(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverview.MainThread(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverview.OtherThreads(this._model));
+ this._overviewControls.push(new WebInspector.TimelineEventOverview.Responsiveness(this._model, this._frameModel()));
+ this._overviewControls.push(new WebInspector.TimelineEventOverview.Frames(this._model, this._frameModel()));
}
this.element.classList.toggle("timeline-overview-frames-mode", isFrameMode);

Powered by Google App Engine
This is Rietveld 408576698