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

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

Issue 1748993002: DevTools: Initial implementation of line-level CPU profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add decorators Created 4 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 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 Runtime.experiments.register("appBanner", "App banner support", true); 107 Runtime.experiments.register("appBanner", "App banner support", true);
108 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); 108 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true);
109 Runtime.experiments.register("timelineCollapsible", "Collapsbile row gro ups in Timeline"); 109 Runtime.experiments.register("timelineCollapsible", "Collapsbile row gro ups in Timeline");
110 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); 110 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
111 Runtime.experiments.register("cpuThrottling", "CPU throttling", true); 111 Runtime.experiments.register("cpuThrottling", "CPU throttling", true);
112 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); 112 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping");
113 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true ); 113 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true );
114 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 114 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
115 Runtime.experiments.register("layersPanel", "Layers panel"); 115 Runtime.experiments.register("layersPanel", "Layers panel");
116 Runtime.experiments.register("layoutEditor", "Layout editor", true); 116 Runtime.experiments.register("layoutEditor", "Layout editor", true);
117 Runtime.experiments.register("lineLevelProfile", "Source line level CPU profiles");
pfeldman 2016/03/02 19:48:58 Lets launch this without experiment.
alph 2016/03/03 02:02:52 Done.
117 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); 118 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip");
118 Runtime.experiments.register("multipleTimelineViews", "Multiple main vie ws on Timeline", true); 119 Runtime.experiments.register("multipleTimelineViews", "Multiple main vie ws on Timeline", true);
119 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView", "Network request headers filter in details view", true); 120 Runtime.experiments.register("networkRequestHeadersFilterInDetailsView", "Network request headers filter in details view", true);
120 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque sts on Timeline", true); 121 Runtime.experiments.register("networkRequestsOnTimeline", "Network reque sts on Timeline", true);
121 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 122 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
122 Runtime.experiments.register("promiseTracker", "Promise inspector"); 123 Runtime.experiments.register("promiseTracker", "Promise inspector");
123 Runtime.experiments.register("requestBlocking", "Request blocking", true ); 124 Runtime.experiments.register("requestBlocking", "Request blocking", true );
124 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true); 125 Runtime.experiments.register("timelineShowAllEvents", "Show all events o n Timeline", true);
125 Runtime.experiments.register("timelineLatencyInfo", "Show input latency events on the Timeline", true); 126 Runtime.experiments.register("timelineLatencyInfo", "Show input latency events on the Timeline", true);
126 Runtime.experiments.register("securityPanel", "Security panel"); 127 Runtime.experiments.register("securityPanel", "Security panel");
(...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 * @return {?Element} 1134 * @return {?Element}
1134 */ 1135 */
1135 settingElement: function() 1136 settingElement: function()
1136 { 1137 {
1137 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); 1138 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers"));
1138 } 1139 }
1139 } 1140 }
1140 1141
1141 1142
1142 new WebInspector.Main(); 1143 new WebInspector.Main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698