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

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

Issue 212843003: DevTools: Add TimelinePowerGraph (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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/TimelinePanel.js
diff --git a/Source/devtools/front_end/TimelinePanel.js b/Source/devtools/front_end/TimelinePanel.js
index ac004b53454ac763ecafb7303235b756d6a08c24..eaf6548060be28981ed3fdcd24233a7e4d8af947 100644
--- a/Source/devtools/front_end/TimelinePanel.js
+++ b/Source/devtools/front_end/TimelinePanel.js
@@ -39,6 +39,7 @@ importScript("TimelineFrameModel.js");
importScript("TimelineEventOverview.js");
importScript("TimelineFrameOverview.js");
importScript("TimelineMemoryOverview.js");
+importScript("TimelinePowerGraph.js");
importScript("TimelinePowerOverview.js");
importScript("TimelineFlameChart.js");
importScript("TimelineUIUtils.js");
@@ -268,7 +269,7 @@ WebInspector.TimelinePanel.prototype = {
break;
case WebInspector.TimelinePanel.Mode.Power:
views.overviewView = new WebInspector.TimelinePowerOverview(this._model);
- views.mainViews = [this._timelineView()];
+ views.mainViews = [this._timelineView(), new WebInspector.TimelinePowerGraph(this, this._model)];
break;
default:
console.assert(false, "Unknown mode: " + mode);

Powered by Google App Engine
This is Rietveld 408576698