| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 /** | 96 /** |
| 97 * @param {!Object<string, string>} prefs | 97 * @param {!Object<string, string>} prefs |
| 98 */ | 98 */ |
| 99 _initializeExperiments(prefs) { | 99 _initializeExperiments(prefs) { |
| 100 Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspe
ction'); | 100 Runtime.experiments.register('accessibilityInspection', 'Accessibility Inspe
ction'); |
| 101 Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI theme
s'); | 101 Runtime.experiments.register('applyCustomStylesheet', 'Allow custom UI theme
s'); |
| 102 Runtime.experiments.register('audits2', 'Audits 2.0', true); | 102 Runtime.experiments.register('audits2', 'Audits 2.0', true); |
| 103 Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-atta
ch to cross-process subframes', true); | 103 Runtime.experiments.register('autoAttachToCrossProcessSubframes', 'Auto-atta
ch to cross-process subframes', true); |
| 104 Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScr
ipt frames on Timeline', true); | 104 Runtime.experiments.register('blackboxJSFramesOnTimeline', 'Blackbox JavaScr
ipt frames on Timeline', true); |
| 105 Runtime.experiments.register('canvasNetworkTimeline', 'Canvas based timeline
in Network panel', true); | |
| 106 Runtime.experiments.register('colorContrastRatio', 'Contrast ratio line in c
olor picker', true); | 105 Runtime.experiments.register('colorContrastRatio', 'Contrast ratio line in c
olor picker', true); |
| 107 Runtime.experiments.register('continueToFirstInvocation', 'Continue to first
invocation', true); | 106 Runtime.experiments.register('continueToFirstInvocation', 'Continue to first
invocation', true); |
| 108 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap
auto-stepping'); | 107 Runtime.experiments.register('emptySourceMapAutoStepping', 'Empty sourcemap
auto-stepping'); |
| 109 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events
on Timeline overview', true); | 108 Runtime.experiments.register('inputEventsOnTimelineOverview', 'Input events
on Timeline overview', true); |
| 110 Runtime.experiments.register('layersPanel', 'Layers panel'); | 109 Runtime.experiments.register('layersPanel', 'Layers panel'); |
| 111 Runtime.experiments.register('layoutEditor', 'Layout editor', true); | 110 Runtime.experiments.register('layoutEditor', 'Layout editor', true); |
| 112 Runtime.experiments.register('inspectTooltip', 'Dark inspect element tooltip
'); | 111 Runtime.experiments.register('inspectTooltip', 'Dark inspect element tooltip
'); |
| 113 Runtime.experiments.register('liveSASS', 'Live SASS'); | 112 Runtime.experiments.register('liveSASS', 'Live SASS'); |
| 114 Runtime.experiments.register('nodeDebugging', 'Node debugging', true); | 113 Runtime.experiments.register('nodeDebugging', 'Node debugging', true); |
| 115 Runtime.experiments.register('persistence2', 'Persistence 2.0', true); | 114 Runtime.experiments.register('persistence2', 'Persistence 2.0', true); |
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 * @override | 1058 * @override |
| 1060 * @return {?Element} | 1059 * @return {?Element} |
| 1061 */ | 1060 */ |
| 1062 settingElement() { | 1061 settingElement() { |
| 1063 return WebInspector.SettingsUI.createSettingCheckbox( | 1062 return WebInspector.SettingsUI.createSettingCheckbox( |
| 1064 WebInspector.UIString('Show rulers'), WebInspector.moduleSetting('showMe
tricsRulers')); | 1063 WebInspector.UIString('Show rulers'), WebInspector.moduleSetting('showMe
tricsRulers')); |
| 1065 } | 1064 } |
| 1066 }; | 1065 }; |
| 1067 | 1066 |
| 1068 new WebInspector.Main(); | 1067 new WebInspector.Main(); |
| OLD | NEW |