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

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

Issue 2863293002: DevTools: Support color by Product on timeline flamechart. (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 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping'); 101 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap auto-stepping');
102 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true); 102 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events on Timeline overview', true);
103 Runtime.experiments.register('liveSASS', 'Live SASS'); 103 Runtime.experiments.register('liveSASS', 'Live SASS');
104 Runtime.experiments.register('networkGroupingRequests', 'Network request gro ups support', true); 104 Runtime.experiments.register('networkGroupingRequests', 'Network request gro ups support', true);
105 Runtime.experiments.register('objectPreviews', 'Object previews', true); 105 Runtime.experiments.register('objectPreviews', 'Object previews', true);
106 Runtime.experiments.register('persistence2', 'Persistence 2.0'); 106 Runtime.experiments.register('persistence2', 'Persistence 2.0');
107 Runtime.experiments.register('sourceDiff', 'Source diff'); 107 Runtime.experiments.register('sourceDiff', 'Source diff');
108 Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true) ; 108 Runtime.experiments.register('terminalInDrawer', 'Terminal in drawer', true) ;
109 109
110 // Timeline 110 // Timeline
111 Runtime.experiments.register('timelineColorByProduct', 'Timeline: color by p roduct', true);
111 Runtime.experiments.register('timelineEventInitiators', 'Timeline: event ini tiators'); 112 Runtime.experiments.register('timelineEventInitiators', 'Timeline: event ini tiators');
112 Runtime.experiments.register('timelineFlowEvents', 'Timeline: flow events', true); 113 Runtime.experiments.register('timelineFlowEvents', 'Timeline: flow events', true);
113 Runtime.experiments.register('timelineInvalidationTracking', 'Timeline: inva lidation tracking', true); 114 Runtime.experiments.register('timelineInvalidationTracking', 'Timeline: inva lidation tracking', true);
114 Runtime.experiments.register('timelineMultipleMainViews', 'Timeline: multipl e main views'); 115 Runtime.experiments.register('timelineMultipleMainViews', 'Timeline: multipl e main views');
115 Runtime.experiments.register('timelinePaintTimingMarkers', 'Timeline: paint timing markers', true); 116 Runtime.experiments.register('timelinePaintTimingMarkers', 'Timeline: paint timing markers', true);
116 Runtime.experiments.register('timelinePerFrameTrack', 'Timeline: per-frame t racks', true); 117 Runtime.experiments.register('timelinePerFrameTrack', 'Timeline: per-frame t racks', true);
117 Runtime.experiments.register('timelineShowAllEvents', 'Timeline: show all ev ents', true); 118 Runtime.experiments.register('timelineShowAllEvents', 'Timeline: show all ev ents', true);
118 Runtime.experiments.register('timelineShowAllProcesses', 'Timeline: show all processes', true); 119 Runtime.experiments.register('timelineShowAllProcesses', 'Timeline: show all processes', true);
119 Runtime.experiments.register('timelineTracingJSProfile', 'Timeline: tracing based JS profiler', true); 120 Runtime.experiments.register('timelineTracingJSProfile', 'Timeline: tracing based JS profiler', true);
120 Runtime.experiments.register('timelineV8RuntimeCallStats', 'Timeline: V8 Run time Call Stats on Timeline', true); 121 Runtime.experiments.register('timelineV8RuntimeCallStats', 'Timeline: V8 Run time Call Stats on Timeline', true);
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 * @override 946 * @override
946 * @return {?Element} 947 * @return {?Element}
947 */ 948 */
948 settingElement() { 949 settingElement() {
949 return UI.SettingsUI.createSettingCheckbox( 950 return UI.SettingsUI.createSettingCheckbox(
950 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' )); 951 Common.UIString('Show rulers'), Common.moduleSetting('showMetricsRulers' ));
951 } 952 }
952 }; 953 };
953 954
954 new Main.Main(); 955 new Main.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698