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

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

Issue 1973413002: DevTools: Make the CPU throttling a non-hidden experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 /** 99 /**
100 * @param {!Object<string, string>} prefs 100 * @param {!Object<string, string>} prefs
101 */ 101 */
102 _initializeExperiments: function(prefs) 102 _initializeExperiments: function(prefs)
103 { 103 {
104 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection"); 104 Runtime.experiments.register("accessibilityInspection", "Accessibility I nspection");
105 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes"); 105 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t hemes");
106 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); 106 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true);
107 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); 107 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
108 Runtime.experiments.register("cpuThrottling", "CPU throttling", true); 108 Runtime.experiments.register("cpuThrottling", "CPU throttling");
109 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); 109 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping");
110 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); 110 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true);
111 Runtime.experiments.register("layersPanel", "Layers panel"); 111 Runtime.experiments.register("layersPanel", "Layers panel");
112 Runtime.experiments.register("layoutEditor", "Layout editor", true); 112 Runtime.experiments.register("layoutEditor", "Layout editor", true);
113 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); 113 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip");
114 Runtime.experiments.register("liveSASS", "Live SASS", true); 114 Runtime.experiments.register("liveSASS", "Live SASS", true);
115 Runtime.experiments.register("privateScriptInspection", "Private script inspection"); 115 Runtime.experiments.register("privateScriptInspection", "Private script inspection");
116 Runtime.experiments.register("reducedIndentation", "Reduced indentation in Elements DOM tree"); 116 Runtime.experiments.register("reducedIndentation", "Reduced indentation in Elements DOM tree");
117 Runtime.experiments.register("requestBlocking", "Request blocking", true ); 117 Runtime.experiments.register("requestBlocking", "Request blocking", true );
118 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames"); 118 Runtime.experiments.register("resolveVariableNames", "Resolve variable n ames");
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 * @return {?Element} 1111 * @return {?Element}
1112 */ 1112 */
1113 settingElement: function() 1113 settingElement: function()
1114 { 1114 {
1115 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); 1115 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers"));
1116 } 1116 }
1117 } 1117 }
1118 1118
1119 1119
1120 new WebInspector.Main(); 1120 new WebInspector.Main();
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698