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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 /** | 77 /** |
78 * @param {!Object<string, string>} prefs | 78 * @param {!Object<string, string>} prefs |
79 */ | 79 */ |
80 _initializeExperiments: function(prefs) | 80 _initializeExperiments: function(prefs) |
81 { | 81 { |
82 Runtime.experiments.register("accessibilityInspection", "Accessibility I
nspection"); | 82 Runtime.experiments.register("accessibilityInspection", "Accessibility I
nspection"); |
83 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); | 83 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); |
84 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav
aScript frames on Timeline", true); | 84 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav
aScript frames on Timeline", true); |
85 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line
in color picker", true); | 85 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line
in color picker", true); |
86 Runtime.experiments.register("continueToFirstInvocation", "Continue to f
irst invocation", true); | 86 Runtime.experiments.register("continueToFirstInvocation", "Continue to f
irst invocation", true); |
87 Runtime.experiments.register("cpuThrottling", "CPU throttling"); | |
88 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source
map auto-stepping"); | 87 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source
map auto-stepping"); |
89 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); | 88 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); |
90 Runtime.experiments.register("layersPanel", "Layers panel"); | 89 Runtime.experiments.register("layersPanel", "Layers panel"); |
91 Runtime.experiments.register("layoutEditor", "Layout editor", true); | 90 Runtime.experiments.register("layoutEditor", "Layout editor", true); |
92 Runtime.experiments.register("inspectTooltip", "Dark inspect element too
ltip"); | 91 Runtime.experiments.register("inspectTooltip", "Dark inspect element too
ltip"); |
93 Runtime.experiments.register("liveSASS", "Live SASS"); | 92 Runtime.experiments.register("liveSASS", "Live SASS"); |
94 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); | 93 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); |
95 Runtime.experiments.register("requestBlocking", "Request blocking", true
); | 94 Runtime.experiments.register("requestBlocking", "Request blocking", true
); |
96 Runtime.experiments.register("resolveVariableNames", "Resolve variable n
ames"); | 95 Runtime.experiments.register("resolveVariableNames", "Resolve variable n
ames"); |
97 Runtime.experiments.register("timelineShowAllEvents", "Show all events o
n Timeline", true); | 96 Runtime.experiments.register("timelineShowAllEvents", "Show all events o
n Timeline", true); |
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 * @override | 1091 * @override |
1093 * @return {?Element} | 1092 * @return {?Element} |
1094 */ | 1093 */ |
1095 settingElement: function() | 1094 settingElement: function() |
1096 { | 1095 { |
1097 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1096 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
1098 } | 1097 } |
1099 } | 1098 } |
1100 | 1099 |
1101 new WebInspector.Main(); | 1100 new WebInspector.Main(); |
OLD | NEW |