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

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

Issue 104523002: [DevTools] Add power profiler and power overview in timeline panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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/Settings.js
diff --git a/Source/devtools/front_end/Settings.js b/Source/devtools/front_end/Settings.js
index 54c8c21bde123ed67d9b44eec6616d56b633672e..f6730363339fbceb2a26c8f8c752d789948112ce 100644
--- a/Source/devtools/front_end/Settings.js
+++ b/Source/devtools/front_end/Settings.js
@@ -40,6 +40,7 @@ var Preferences = {
var Capabilities = {
canInspectWorkers: false,
+ canProfilePower: false,
}
/**
@@ -288,6 +289,7 @@ WebInspector.ExperimentsSettings = function()
this.allocationProfiler = this._createExperiment("allocationProfiler", "Enable JavaScript heap allocation profiler");
this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enable FlameChart mode in Timeline");
this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics", "Show memory breakdown statistics in heap snapshots");
+ this.powerTimeline = this._createExperiment("powerProfile", "Enable power mode in Timeline");
pfeldman 2014/03/11 12:24:02 Name of the property should match the name of the
Pan 2014/03/18 10:16:48 Done.
this._cleanUpSetting();
}

Powered by Google App Engine
This is Rietveld 408576698