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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 Runtime.experiments.register("animationInspection", "Animation Inspectio
n", true); | 148 Runtime.experiments.register("animationInspection", "Animation Inspectio
n", true); |
149 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); | 149 Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI t
hemes"); |
150 Runtime.experiments.register("canvasInspection", "Canvas inspection"); | 150 Runtime.experiments.register("canvasInspection", "Canvas inspection"); |
151 Runtime.experiments.register("devicesPanel", "Devices panel"); | 151 Runtime.experiments.register("devicesPanel", "Devices panel"); |
152 Runtime.experiments.register("disableAgentsWhenProfile", "Disable other
agents and UI when profiler is active", true); | 152 Runtime.experiments.register("disableAgentsWhenProfile", "Disable other
agents and UI when profiler is active", true); |
153 Runtime.experiments.register("dockToLeft", "Dock to left", true); | 153 Runtime.experiments.register("dockToLeft", "Dock to left", true); |
154 Runtime.experiments.register("documentation", "JavaScript documentation"
, true); | 154 Runtime.experiments.register("documentation", "JavaScript documentation"
, true); |
155 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); | 155 Runtime.experiments.register("fileSystemInspection", "FileSystem inspect
ion"); |
156 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); | 156 Runtime.experiments.register("gpuTimeline", "GPU data on timeline", true
); |
157 Runtime.experiments.register("layersPanel", "Layers panel"); | 157 Runtime.experiments.register("layersPanel", "Layers panel"); |
158 Runtime.experiments.register("promiseTracker", "Enable Promise inspectio
n", true); | 158 Runtime.experiments.register("promiseTracker", "Enable Promise inspectio
n"); |
159 Runtime.experiments.register("timelineOnTraceEvents", "Timeline on trace
events"); | 159 Runtime.experiments.register("timelineOnTraceEvents", "Timeline on trace
events"); |
160 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr
ofiler"); | 160 Runtime.experiments.register("timelinePowerProfiler", "Timeline power pr
ofiler"); |
161 Runtime.experiments.register("timelineJSCPUProfile", "Timeline with JS s
ampling"); | 161 Runtime.experiments.register("timelineJSCPUProfile", "Timeline with JS s
ampling"); |
162 Runtime.experiments.register("timelineInvalidationTracking", "Timeline w
ith full invalidation tracking."); | 162 Runtime.experiments.register("timelineInvalidationTracking", "Timeline w
ith full invalidation tracking."); |
163 Runtime.experiments.cleanUpStaleExperiments(); | 163 Runtime.experiments.cleanUpStaleExperiments(); |
164 | 164 |
165 if (InspectorFrontendHost.isUnderTest()) { | 165 if (InspectorFrontendHost.isUnderTest()) { |
166 // Enable experiments for testing. | 166 // Enable experiments for testing. |
167 Runtime.experiments.enableForTest("disableAgentsWhenProfile"); | 167 Runtime.experiments.enableForTest("disableAgentsWhenProfile"); |
168 var testPath = WebInspector.settings.testPath.get(); | 168 var testPath = WebInspector.settings.testPath.get(); |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 /** | 892 /** |
893 * @param {!WebInspector.Event} event | 893 * @param {!WebInspector.Event} event |
894 */ | 894 */ |
895 _inspectNode: function(event) | 895 _inspectNode: function(event) |
896 { | 896 { |
897 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 897 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
898 } | 898 } |
899 } | 899 } |
900 | 900 |
901 new WebInspector.Main(); | 901 new WebInspector.Main(); |
OLD | NEW |