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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect
or.workspace, WebInspector.isolatedFileSystemManager.mapping()); | 212 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect
or.workspace, WebInspector.isolatedFileSystemManager.mapping()); |
213 WebInspector.networkProject = new WebInspector.NetworkProject(WebInspect
or.workspace, WebInspector.networkMapping); | 213 WebInspector.networkProject = new WebInspector.NetworkProject(WebInspect
or.workspace, WebInspector.networkMapping); |
214 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present
ationConsoleMessageHelper(WebInspector.workspace); | 214 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present
ationConsoleMessageHelper(WebInspector.workspace); |
215 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.workspace, WebInspector.networkMapping, WebInspector.networkProject
); | 215 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.workspace, WebInspector.networkMapping, WebInspector.networkProject
); |
216 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping, WebInspector.networkProject); | 216 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping, WebInspector.networkProject); |
217 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor
kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We
bInspector.networkMapping); | 217 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor
kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We
bInspector.networkMapping); |
218 WebInspector.breakpointManager = new WebInspector.BreakpointManager(WebI
nspector.settings.breakpoints, WebInspector.workspace, WebInspector.networkMappi
ng, WebInspector.targetManager, WebInspector.debuggerWorkspaceBinding); | 218 WebInspector.breakpointManager = new WebInspector.BreakpointManager(WebI
nspector.settings.breakpoints, WebInspector.workspace, WebInspector.networkMappi
ng, WebInspector.targetManager, WebInspector.debuggerWorkspaceBinding); |
219 WebInspector.scriptSnippetModel = new WebInspector.ScriptSnippetModel(We
bInspector.workspace); | 219 WebInspector.scriptSnippetModel = new WebInspector.ScriptSnippetModel(We
bInspector.workspace); |
220 WebInspector.extensionServer = new WebInspector.ExtensionServer(); | 220 WebInspector.extensionServer = new WebInspector.ExtensionServer(); |
221 | 221 |
222 new WebInspector.OverlayController(); | |
223 new WebInspector.ContentScriptProjectDecorator(); | 222 new WebInspector.ContentScriptProjectDecorator(); |
224 new WebInspector.ExecutionContextSelector(); | 223 new WebInspector.ExecutionContextSelector(); |
225 | 224 |
226 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); | 225 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); |
227 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 226 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
228 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 227 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
229 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 228 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
230 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 229 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
231 | 230 |
232 new WebInspector.WorkspaceController(WebInspector.workspace); | 231 new WebInspector.WorkspaceController(WebInspector.workspace); |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 p.classList.add("help-section"); | 941 p.classList.add("help-section"); |
943 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 942 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
944 } | 943 } |
945 | 944 |
946 WebInspector.WorkerTerminatedScreen.prototype = { | 945 WebInspector.WorkerTerminatedScreen.prototype = { |
947 | 946 |
948 __proto__: WebInspector.HelpScreen.prototype | 947 __proto__: WebInspector.HelpScreen.prototype |
949 } | 948 } |
950 | 949 |
951 new WebInspector.Main(); | 950 new WebInspector.Main(); |
OLD | NEW |