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

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
« no previous file with comments | « Source/devtools/front_end/PowerProfiler.js ('k') | Source/devtools/front_end/Target.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Settings.js
diff --git a/Source/devtools/front_end/Settings.js b/Source/devtools/front_end/Settings.js
index 1de6be4443a7733260bc601434a868c1b1070560..c9ae7e7b76c2c3644abd851cf8520f210ed710a3 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,
}
/**
@@ -289,6 +290,7 @@ WebInspector.ExperimentsSettings = function(experimentsEnabled)
this.heapSnapshotStatistics = this._createExperiment("heapSnapshotStatistics", "Show memory breakdown statistics in heap snapshots");
this.timelineNoLiveUpdate = this._createExperiment("timelineNoLiveUpdate", "Timeline w/o live update");
this.cssStyleSearch = this._createExperiment("cssStyleSearch", "Enable Styles search and Computed style filtering");
+ this.powerProfiler = this._createExperiment("powerProfiler", "Enable power mode in Timeline");
this._cleanUpSetting();
}
« no previous file with comments | « Source/devtools/front_end/PowerProfiler.js ('k') | Source/devtools/front_end/Target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698