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

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: 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 558286188556380f9695e7d72bff6edb44f755eb..d20d582361afe7a82586e4550e0141a41fc760b4 100644
--- a/Source/devtools/front_end/Settings.js
+++ b/Source/devtools/front_end/Settings.js
@@ -39,6 +39,7 @@ var Preferences = {
var Capabilities = {
isMainFrontend: false,
+ canProfilePower: false,
}
/**
@@ -288,6 +289,7 @@ WebInspector.ExperimentsSettings = function(experimentsEnabled)
this.timelineFlameChart = this._createExperiment("timelineFlameChart", "Enable FlameChart mode in Timeline");
this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics", "Show memory breakdown statistics in heap snapshots");
this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", "Timeline w/o live update");
+ this.powerProfiler = this._createExperiment("powerProfiler", "Enable power mode in Timeline");
this._cleanUpSetting();
}

Powered by Google App Engine
This is Rietveld 408576698