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

Unified Diff: third_party/WebKit/Source/devtools/front_end/main/Main.js

Issue 2872853002: DevTools: Support grouping by Product in performance tree views. (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/devtools/front_end/main/Main.js
diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
index f8360c6e9ea0a8e43d53d5c345ff94bcfe49d81b..3fdb7a4ac0e6237592092509dc682fba3c92f018 100644
--- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
+++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
@@ -109,7 +109,7 @@ Main.Main = class {
Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true);
// Timeline
- Runtime.experiments.register('timelineColorByProduct', 'Timeline: color by product', true);
+ Runtime.experiments.register('timelineColorByProduct', 'Timeline: group and color by product', true);
Runtime.experiments.register('timelineEventInitiators', 'Timeline: event initiators');
Runtime.experiments.register('timelineFlowEvents', 'Timeline: flow events', true);
Runtime.experiments.register('timelineInvalidationTracking', 'Timeline: invalidation tracking', true);
@@ -136,6 +136,8 @@ Main.Main = class {
Runtime.experiments.enableForTest('changesDrawer');
if (testPath.indexOf('sass/') !== -1)
Runtime.experiments.enableForTest('liveSASS');
+ if (testPath.indexOf('tracing/') !== -1)
+ Runtime.experiments.enableForTest('timelineColorByProduct');
caseq 2017/05/09 01:48:32 Let's rather do this in tests, use experiment.enab
alph 2017/05/09 02:00:14 Done.
}
Runtime.experiments.setDefaultExperiments(['continueToLocationMarkers', 'autoAttachToCrossProcessSubframes']);

Powered by Google App Engine
This is Rietveld 408576698