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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping)
; | 208 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping)
; |
209 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping); | 209 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping); |
210 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor
kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We
bInspector.networkMapping); | 210 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor
kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We
bInspector.networkMapping); |
211 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null
, WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage
r, WebInspector.debuggerWorkspaceBinding); | 211 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null
, WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage
r, WebInspector.debuggerWorkspaceBinding); |
212 WebInspector.extensionServer = new WebInspector.ExtensionServer(); | 212 WebInspector.extensionServer = new WebInspector.ExtensionServer(); |
213 | 213 |
214 new WebInspector.OverlayController(); | 214 new WebInspector.OverlayController(); |
215 new WebInspector.ContentScriptProjectDecorator(); | 215 new WebInspector.ContentScriptProjectDecorator(); |
216 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); | 216 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); |
217 | 217 |
218 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); | 218 var autoselectPanel = WebInspector.UIString("auto"); |
219 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 219 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
220 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 220 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
221 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 221 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
222 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 222 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
223 | 223 |
224 new WebInspector.WorkspaceController(WebInspector.workspace); | 224 new WebInspector.WorkspaceController(WebInspector.workspace); |
225 new WebInspector.RenderingOptions(); | 225 new WebInspector.RenderingOptions(); |
226 new WebInspector.Main.PauseListener(); | 226 new WebInspector.Main.PauseListener(); |
227 new WebInspector.Main.InspectedNodeRevealer(); | 227 new WebInspector.Main.InspectedNodeRevealer(); |
228 new WebInspector.ThrottlingIndicator(); | 228 new WebInspector.ThrottlingIndicator(); |
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 p.classList.add("help-section"); | 934 p.classList.add("help-section"); |
935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 935 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
936 } | 936 } |
937 | 937 |
938 WebInspector.WorkerTerminatedScreen.prototype = { | 938 WebInspector.WorkerTerminatedScreen.prototype = { |
939 | 939 |
940 __proto__: WebInspector.HelpScreen.prototype | 940 __proto__: WebInspector.HelpScreen.prototype |
941 } | 941 } |
942 | 942 |
943 new WebInspector.Main(); | 943 new WebInspector.Main(); |
OLD | NEW |