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

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

Issue 2491823003: Timeline: add experiment to show events from subframes in the frames of their own (Closed)
Patch Set: rebased, adjusted name logic Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com). 3 * Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com).
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true); 112 Runtime.experiments.register('timelineShowAllProcesses', 'Show all processes on Timeline', true);
113 Runtime.experiments.register('securityPanel', 'Security panel'); 113 Runtime.experiments.register('securityPanel', 'Security panel');
114 Runtime.experiments.register('sourceDiff', 'Source diff'); 114 Runtime.experiments.register('sourceDiff', 'Source diff');
115 Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true) ; 115 Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true) ;
116 Runtime.experiments.register('timelineFlowEvents', 'Timeline flow events', t rue); 116 Runtime.experiments.register('timelineFlowEvents', 'Timeline flow events', t rue);
117 Runtime.experiments.register('timelineInvalidationTracking', 'Timeline inval idation tracking', true); 117 Runtime.experiments.register('timelineInvalidationTracking', 'Timeline inval idation tracking', true);
118 Runtime.experiments.register('timelineRecordingPerspectives', 'Timeline reco rding perspectives UI'); 118 Runtime.experiments.register('timelineRecordingPerspectives', 'Timeline reco rding perspectives UI');
119 Runtime.experiments.register('timelineTracingJSProfile', 'Timeline tracing b ased JS profiler', true); 119 Runtime.experiments.register('timelineTracingJSProfile', 'Timeline tracing b ased JS profiler', true);
120 Runtime.experiments.register('timelineV8RuntimeCallStats', 'V8 Runtime Call Stats on Timeline', true); 120 Runtime.experiments.register('timelineV8RuntimeCallStats', 'V8 Runtime Call Stats on Timeline', true);
121 Runtime.experiments.register('timelineRuleUsageRecording', 'Track CSS rules usage while recording Timeline.'); 121 Runtime.experiments.register('timelineRuleUsageRecording', 'Track CSS rules usage while recording Timeline.');
122 Runtime.experiments.register('timelinePerFrameTrack', 'Show track per frame on Timeline', true);
122 123
123 Runtime.experiments.cleanUpStaleExperiments(); 124 Runtime.experiments.cleanUpStaleExperiments();
124 125
125 if (InspectorFrontendHost.isUnderTest()) { 126 if (InspectorFrontendHost.isUnderTest()) {
126 var testPath = JSON.parse(prefs['testPath'] || '""'); 127 var testPath = JSON.parse(prefs['testPath'] || '""');
127 // Enable experiments for testing. 128 // Enable experiments for testing.
128 if (testPath.indexOf('layers/') !== -1) 129 if (testPath.indexOf('layers/') !== -1)
129 Runtime.experiments.enableForTest('layersPanel'); 130 Runtime.experiments.enableForTest('layersPanel');
130 if (testPath.indexOf('timeline/') !== -1 || testPath.indexOf('layers/') != = -1) 131 if (testPath.indexOf('timeline/') !== -1 || testPath.indexOf('layers/') != = -1)
131 Runtime.experiments.enableForTest('layersPanel'); 132 Runtime.experiments.enableForTest('layersPanel');
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 * @override 1048 * @override
1048 * @return {?Element} 1049 * @return {?Element}
1049 */ 1050 */
1050 settingElement() { 1051 settingElement() {
1051 return WebInspector.SettingsUI.createSettingCheckbox( 1052 return WebInspector.SettingsUI.createSettingCheckbox(
1052 WebInspector.UIString('Show rulers'), WebInspector.moduleSetting('showMe tricsRulers')); 1053 WebInspector.UIString('Show rulers'), WebInspector.moduleSetting('showMe tricsRulers'));
1053 } 1054 }
1054 }; 1055 };
1055 1056
1056 new WebInspector.Main(); 1057 new WebInspector.Main();
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698