Chromium Code Reviews| 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("audits2", "Audits 2", true); | |
|
dgozman
2016/10/14 03:14:58
2.0 :-)
| |
| 84 Runtime.experiments.register("autoAttachToCrossProcessSubframes", "Auto- attach to cross-process subframes", true); | 85 Runtime.experiments.register("autoAttachToCrossProcessSubframes", "Auto- attach to cross-process subframes", true); |
| 85 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); | 86 Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox Jav aScript frames on Timeline", true); |
| 86 Runtime.experiments.register("canvasNetworkTimeline", "Canvas based time line in Network panel", true); | 87 Runtime.experiments.register("canvasNetworkTimeline", "Canvas based time line in Network panel", true); |
| 87 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); | 88 Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); |
| 88 Runtime.experiments.register("continueToFirstInvocation", "Continue to f irst invocation", true); | 89 Runtime.experiments.register("continueToFirstInvocation", "Continue to f irst invocation", true); |
| 89 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); | 90 Runtime.experiments.register("emptySourceMapAutoStepping", "Empty source map auto-stepping"); |
| 90 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); | 91 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve nts on Timeline overview", true); |
| 91 Runtime.experiments.register("layersPanel", "Layers panel"); | 92 Runtime.experiments.register("layersPanel", "Layers panel"); |
| 92 Runtime.experiments.register("layoutEditor", "Layout editor", true); | 93 Runtime.experiments.register("layoutEditor", "Layout editor", true); |
| 93 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); | 94 Runtime.experiments.register("inspectTooltip", "Dark inspect element too ltip"); |
| (...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1117 * @override | 1118 * @override |
| 1118 * @return {?Element} | 1119 * @return {?Element} |
| 1119 */ | 1120 */ |
| 1120 settingElement: function() | 1121 settingElement: function() |
| 1121 { | 1122 { |
| 1122 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1123 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
| 1123 } | 1124 } |
| 1124 } | 1125 } |
| 1125 | 1126 |
| 1126 new WebInspector.Main(); | 1127 new WebInspector.Main(); |
| OLD | NEW |