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

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

Issue 2612363003: DevTools: Show FMP markers on timeline experiment (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping'); 103 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping');
104 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true); 104 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true);
105 Runtime.experiments.register('liveSASS', 'Live SASS'); 105 Runtime.experiments.register('liveSASS', 'Live SASS');
106 Runtime.experiments.register('networkGroupingRequests', 'Network request gro ups support', true); 106 Runtime.experiments.register('networkGroupingRequests', 'Network request gro ups support', true);
107 Runtime.experiments.register('nodeDebugging', 'Node debugging', true); 107 Runtime.experiments.register('nodeDebugging', 'Node debugging', true);
108 Runtime.experiments.register('persistence2', 'Persistence 2.0'); 108 Runtime.experiments.register('persistence2', 'Persistence 2.0');
109 Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings'); 109 Runtime.experiments.register('persistenceValidation', 'Validate persistence bindings');
110 Runtime.experiments.register('requestBlocking', 'Request blocking', true); 110 Runtime.experiments.register('requestBlocking', 'Request blocking', true);
111 Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Ti meline', true); 111 Runtime.experiments.register('timelineShowAllEvents', 'Show all events on Ti meline', true);
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('timelineShowFMP', 'Show first meaningful paint marker on Timeline', true);
pfeldman 2017/01/06 00:05:59 timelinePaintTimingMarkers
alph 2017/01/06 01:56:48 Done.
113 Runtime.experiments.register('sourceDiff', 'Source diff'); 114 Runtime.experiments.register('sourceDiff', 'Source diff');
114 Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true) ; 115 Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true) ;
115 Runtime.experiments.register('timelineInvalidationTracking', 'Timeline inval idation tracking', true); 116 Runtime.experiments.register('timelineInvalidationTracking', 'Timeline inval idation tracking', true);
116 Runtime.experiments.register('timelineTracingJSProfile', 'Timeline tracing b ased JS profiler', true); 117 Runtime.experiments.register('timelineTracingJSProfile', 'Timeline tracing b ased JS profiler', true);
117 Runtime.experiments.register('timelineV8RuntimeCallStats', 'V8 Runtime Call Stats on Timeline', true); 118 Runtime.experiments.register('timelineV8RuntimeCallStats', 'V8 Runtime Call Stats on Timeline', true);
118 Runtime.experiments.register('timelinePerFrameTrack', 'Show track per frame on Timeline', true); 119 Runtime.experiments.register('timelinePerFrameTrack', 'Show track per frame on Timeline', true);
119 120
120 Runtime.experiments.cleanUpStaleExperiments(); 121 Runtime.experiments.cleanUpStaleExperiments();
121 122
122 if (Host.isUnderTest(prefs)) { 123 if (Host.isUnderTest(prefs)) {
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 * @override 982 * @override
982 * @return {?Element} 983 * @return {?Element}
983 */ 984 */
984 settingElement() { 985 settingElement() {
985 return UI.SettingsUI.createSettingCheckbox( 986 return UI.SettingsUI.createSettingCheckbox(
986 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 987 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
987 } 988 }
988 }; 989 };
989 990
990 new Main.Main(); 991 new Main.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698