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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 new WebInspector.VersionController().updateVersion(); | 74 new WebInspector.VersionController().updateVersion(); |
75 }, | 75 }, |
76 | 76 |
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("autoAttachToCrossProcessSubframes", "Auto-
attach to cross-process subframes", true); |
84 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav
aScript frames on Timeline", true); | 85 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav
aScript frames on Timeline", true); |
85 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line
in color picker", true); | 86 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line
in color picker", true); |
86 Runtime.experiments.register("continueToFirstInvocation", "Continue to f
irst invocation", true); | 87 Runtime.experiments.register("continueToFirstInvocation", "Continue to f
irst invocation", true); |
87 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source
map auto-stepping"); | 88 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source
map auto-stepping"); |
88 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); | 89 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); |
89 Runtime.experiments.register("layersPanel", "Layers panel"); | 90 Runtime.experiments.register("layersPanel", "Layers panel"); |
90 Runtime.experiments.register("layoutEditor", "Layout editor", true); | 91 Runtime.experiments.register("layoutEditor", "Layout editor", true); |
91 Runtime.experiments.register("inspectTooltip", "Dark inspect element too
ltip"); | 92 Runtime.experiments.register("inspectTooltip", "Dark inspect element too
ltip"); |
92 Runtime.experiments.register("liveSASS", "Live SASS"); | 93 Runtime.experiments.register("liveSASS", "Live SASS"); |
93 Runtime.experiments.register("nodeDebugging", "Node debugging", true); | 94 Runtime.experiments.register("nodeDebugging", "Node debugging", true); |
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1107 * @override | 1108 * @override |
1108 * @return {?Element} | 1109 * @return {?Element} |
1109 */ | 1110 */ |
1110 settingElement: function() | 1111 settingElement: function() |
1111 { | 1112 { |
1112 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1113 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
1113 } | 1114 } |
1114 } | 1115 } |
1115 | 1116 |
1116 new WebInspector.Main(); | 1117 new WebInspector.Main(); |
OLD | NEW |