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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 WebInspector.settings = new WebInspector.Settings(); | 136 WebInspector.settings = new WebInspector.Settings(); |
137 this._initializeExperiments(); | 137 this._initializeExperiments(); |
138 | 138 |
139 // This setting is needed for backwards compatibility with Devtools Code
School extension. DO NOT REMOVE | 139 // This setting is needed for backwards compatibility with Devtools Code
School extension. DO NOT REMOVE |
140 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau
seOnExceptionStateSetting(); | 140 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau
seOnExceptionStateSetting(); |
141 new WebInspector.VersionController().updateVersion(); | 141 new WebInspector.VersionController().updateVersion(); |
142 }, | 142 }, |
143 | 143 |
144 _initializeExperiments: function() | 144 _initializeExperiments: function() |
145 { | 145 { |
| 146 Runtime.experiments.register("animationInspection", "Animation Inspectio
n", true); |
146 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); | 147 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); |
147 Runtime.experiments.register("canvasInspection", "Canvas inspection"); | 148 Runtime.experiments.register("canvasInspection", "Canvas inspection"); |
148 Runtime.experiments.register("devicesPanel", "Devices panel"); | 149 Runtime.experiments.register("devicesPanel", "Devices panel"); |
149 Runtime.experiments.register("disableAgentsWhenProfile", "Disable other
agents and UI when profiler is active", true); | 150 Runtime.experiments.register("disableAgentsWhenProfile", "Disable other
agents and UI when profiler is active", true); |
150 Runtime.experiments.register("dockToLeft", "Dock to left", true); | 151 Runtime.experiments.register("dockToLeft", "Dock to left", true); |
151 Runtime.experiments.register("documentation", "JavaScript documentation"
, true); | 152 Runtime.experiments.register("documentation", "JavaScript documentation"
, true); |
152 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); | 153 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); |
153 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); | 154 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); |
154 Runtime.experiments.register("layersPanel", "Layers panel"); | 155 Runtime.experiments.register("layersPanel", "Layers panel"); |
155 Runtime.experiments.register("promiseTracker", "Enable Promise inspectio
n", true); | 156 Runtime.experiments.register("promiseTracker", "Enable Promise inspectio
n", true); |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
866 /** | 867 /** |
867 * @param {!WebInspector.Event} event | 868 * @param {!WebInspector.Event} event |
868 */ | 869 */ |
869 _inspectNode: function(event) | 870 _inspectNode: function(event) |
870 { | 871 { |
871 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 872 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
872 } | 873 } |
873 } | 874 } |
874 | 875 |
875 new WebInspector.Main(); | 876 new WebInspector.Main(); |
OLD | NEW |