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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); | 89 Runtime.experiments.register("inputEventsOnTimelineOverview", "Input eve
nts on Timeline overview", true); |
90 Runtime.experiments.register("layersPanel", "Layers panel"); | 90 Runtime.experiments.register("layersPanel", "Layers panel"); |
91 Runtime.experiments.register("layoutEditor", "Layout editor", true); | 91 Runtime.experiments.register("layoutEditor", "Layout editor", true); |
92 Runtime.experiments.register("inspectTooltip", "Dark inspect element too
ltip"); | 92 Runtime.experiments.register("inspectTooltip", "Dark inspect element too
ltip"); |
93 Runtime.experiments.register("liveSASS", "Live SASS"); | 93 Runtime.experiments.register("liveSASS", "Live SASS"); |
94 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); | 94 Runtime.experiments.register("privateScriptInspection", "Private script
inspection"); |
95 Runtime.experiments.register("requestBlocking", "Request blocking", true
); | 95 Runtime.experiments.register("requestBlocking", "Request blocking", true
); |
96 Runtime.experiments.register("resolveVariableNames", "Resolve variable n
ames"); | 96 Runtime.experiments.register("resolveVariableNames", "Resolve variable n
ames"); |
97 Runtime.experiments.register("timelineShowAllEvents", "Show all events o
n Timeline", true); | 97 Runtime.experiments.register("timelineShowAllEvents", "Show all events o
n Timeline", true); |
98 Runtime.experiments.register("securityPanel", "Security panel"); | 98 Runtime.experiments.register("securityPanel", "Security panel"); |
| 99 Runtime.experiments.register("shadowEditor", "Shadow editor", true); |
99 Runtime.experiments.register("sourceDiff", "Source diff"); | 100 Runtime.experiments.register("sourceDiff", "Source diff"); |
100 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events
", true); | 101 Runtime.experiments.register("timelineFlowEvents", "Timeline flow events
", true); |
101 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i
nvalidation tracking", true); | 102 Runtime.experiments.register("timelineInvalidationTracking", "Timeline i
nvalidation tracking", true); |
102 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline
recording perspectives UI"); | 103 Runtime.experiments.register("timelineRecordingPerspectives", "Timeline
recording perspectives UI"); |
103 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci
ng based JS profiler", true); | 104 Runtime.experiments.register("timelineTracingJSProfile", "Timeline traci
ng based JS profiler", true); |
104 | 105 |
105 Runtime.experiments.cleanUpStaleExperiments(); | 106 Runtime.experiments.cleanUpStaleExperiments(); |
106 | 107 |
107 if (InspectorFrontendHost.isUnderTest()) { | 108 if (InspectorFrontendHost.isUnderTest()) { |
108 var testPath = JSON.parse(prefs["testPath"] || "\"\""); | 109 var testPath = JSON.parse(prefs["testPath"] || "\"\""); |
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 * @override | 1093 * @override |
1093 * @return {?Element} | 1094 * @return {?Element} |
1094 */ | 1095 */ |
1095 settingElement: function() | 1096 settingElement: function() |
1096 { | 1097 { |
1097 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1098 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
1098 } | 1099 } |
1099 } | 1100 } |
1100 | 1101 |
1101 new WebInspector.Main(); | 1102 new WebInspector.Main(); |
OLD | NEW |