| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 { | 176 { |
| 177 WebInspector.settings = new WebInspector.Settings(); | 177 WebInspector.settings = new WebInspector.Settings(); |
| 178 this._initializeExperiments(); | 178 this._initializeExperiments(); |
| 179 // This setting is needed for backwards compatibility with Devtools Code
School extension. DO NOT REMOVE | 179 // This setting is needed for backwards compatibility with Devtools Code
School extension. DO NOT REMOVE |
| 180 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau
seOnExceptionStateSetting(); | 180 WebInspector.settings.pauseOnExceptionStateString = new WebInspector.Pau
seOnExceptionStateSetting(); |
| 181 new WebInspector.VersionController().updateVersion(); | 181 new WebInspector.VersionController().updateVersion(); |
| 182 }, | 182 }, |
| 183 | 183 |
| 184 _initializeExperiments: function() | 184 _initializeExperiments: function() |
| 185 { | 185 { |
| 186 Runtime.experiments.register("animationInspection", "Animation Inspectio
n", true); |
| 186 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); | 187 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); |
| 187 Runtime.experiments.register("canvasInspection", "Canvas inspection"); | 188 Runtime.experiments.register("canvasInspection", "Canvas inspection"); |
| 188 Runtime.experiments.register("devicesPanel", "Devices panel"); | 189 Runtime.experiments.register("devicesPanel", "Devices panel"); |
| 189 Runtime.experiments.register("disableAgentsWhenProfile", "Disable other
agents and UI when profiler is active", true); | 190 Runtime.experiments.register("disableAgentsWhenProfile", "Disable other
agents and UI when profiler is active", true); |
| 190 Runtime.experiments.register("dockToLeft", "Dock to left", true); | 191 Runtime.experiments.register("dockToLeft", "Dock to left", true); |
| 191 Runtime.experiments.register("documentation", "JavaScript documentation"
, true); | 192 Runtime.experiments.register("documentation", "JavaScript documentation"
, true); |
| 192 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); | 193 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); |
| 193 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); | 194 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); |
| 194 Runtime.experiments.register("layersPanel", "Layers panel"); | 195 Runtime.experiments.register("layersPanel", "Layers panel"); |
| 195 Runtime.experiments.register("promiseTracker", "Enable Promise inspectio
n", true); | 196 Runtime.experiments.register("promiseTracker", "Enable Promise inspectio
n", true); |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 | 901 |
| 901 WebInspector.Main.InspectedNodeRevealer.prototype = { | 902 WebInspector.Main.InspectedNodeRevealer.prototype = { |
| 902 /** | 903 /** |
| 903 * @param {!WebInspector.Event} event | 904 * @param {!WebInspector.Event} event |
| 904 */ | 905 */ |
| 905 _inspectNode: function(event) | 906 _inspectNode: function(event) |
| 906 { | 907 { |
| 907 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 908 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
| 908 } | 909 } |
| 909 } | 910 } |
| OLD | NEW |