OLD | NEW |
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 */ | 102 */ |
103 _initializeExperiments: function(prefs) | 103 _initializeExperiments: function(prefs) |
104 { | 104 { |
105 Runtime.experiments.register("accessibilityInspection", "Accessibility I
nspection"); | 105 Runtime.experiments.register("accessibilityInspection", "Accessibility I
nspection"); |
106 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); | 106 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); |
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("cspDetailsInSecurityPanel", "CSP Details i
n Security Panel"); |
112 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source
map auto-stepping"); | 113 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source
map auto-stepping"); |
113 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); | 114 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); |
114 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); | 115 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); |
115 Runtime.experiments.register("layersPanel", "Layers panel"); | 116 Runtime.experiments.register("layersPanel", "Layers panel"); |
116 Runtime.experiments.register("layoutEditor", "Layout editor", true); | 117 Runtime.experiments.register("layoutEditor", "Layout editor", true); |
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"); |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 * @return {?Element} | 1142 * @return {?Element} |
1142 */ | 1143 */ |
1143 settingElement: function() | 1144 settingElement: function() |
1144 { | 1145 { |
1145 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1146 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
1146 } | 1147 } |
1147 } | 1148 } |
1148 | 1149 |
1149 | 1150 |
1150 new WebInspector.Main(); | 1151 new WebInspector.Main(); |
OLD | NEW |