| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 WebInspector.shortcutsScreen = new WebInspector.ShortcutsScreen(); | 197 WebInspector.shortcutsScreen = new WebInspector.ShortcutsScreen(); |
| 198 // set order of some sections explicitly | 198 // set order of some sections explicitly |
| 199 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan
el")); | 199 WebInspector.shortcutsScreen.section(WebInspector.UIString("Elements Pan
el")); |
| 200 WebInspector.shortcutsScreen.section(WebInspector.UIString("Styles Pane"
)); | 200 WebInspector.shortcutsScreen.section(WebInspector.UIString("Styles Pane"
)); |
| 201 WebInspector.shortcutsScreen.section(WebInspector.UIString("Debugger")); | 201 WebInspector.shortcutsScreen.section(WebInspector.UIString("Debugger")); |
| 202 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); | 202 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); |
| 203 | 203 |
| 204 WebInspector.fileManager = new WebInspector.FileManager(); | 204 WebInspector.fileManager = new WebInspector.FileManager(); |
| 205 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy
stemManager(); | 205 WebInspector.isolatedFileSystemManager = new WebInspector.IsolatedFileSy
stemManager(); |
| 206 WebInspector.workspace = new WebInspector.Workspace(WebInspector.isolate
dFileSystemManager.mapping()); | 206 WebInspector.workspace = new WebInspector.Workspace(WebInspector.isolate
dFileSystemManager.mapping()); |
| 207 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect
or.workspace, WebInspector.isolatedFileSystemManager.mapping()); | 207 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor
kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace); |
| 208 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect
or.workspace, WebInspector.fileSystemWorkspaceBinding, WebInspector.isolatedFile
SystemManager.mapping()); |
| 208 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana
ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp
ing); | 209 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana
ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp
ing); |
| 209 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present
ationConsoleMessageHelper(WebInspector.workspace); | 210 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present
ationConsoleMessageHelper(WebInspector.workspace); |
| 210 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping)
; | 211 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping)
; |
| 211 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping); | 212 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping); |
| 212 WebInspector.fileSystemWorkspaceBinding = new WebInspector.FileSystemWor
kspaceBinding(WebInspector.isolatedFileSystemManager, WebInspector.workspace, We
bInspector.networkMapping); | |
| 213 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null
, WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage
r, WebInspector.debuggerWorkspaceBinding); | 213 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null
, WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage
r, WebInspector.debuggerWorkspaceBinding); |
| 214 WebInspector.extensionServer = new WebInspector.ExtensionServer(); | 214 WebInspector.extensionServer = new WebInspector.ExtensionServer(); |
| 215 | 215 |
| 216 new WebInspector.OverlayController(); | 216 new WebInspector.OverlayController(); |
| 217 new WebInspector.ContentScriptProjectDecorator(); | 217 new WebInspector.ContentScriptProjectDecorator(); |
| 218 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); | 218 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); |
| 219 | 219 |
| 220 var autoselectPanel = WebInspector.UIString("auto"); | 220 var autoselectPanel = WebInspector.UIString("auto"); |
| 221 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 221 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
| 222 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 222 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 969 p.classList.add("help-section"); | 969 p.classList.add("help-section"); |
| 970 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); | 970 p.textContent = WebInspector.UIString("Inspected worker has terminated. Once
it restarts we will attach to it automatically."); |
| 971 } | 971 } |
| 972 | 972 |
| 973 WebInspector.WorkerTerminatedScreen.prototype = { | 973 WebInspector.WorkerTerminatedScreen.prototype = { |
| 974 | 974 |
| 975 __proto__: WebInspector.HelpScreen.prototype | 975 __proto__: WebInspector.HelpScreen.prototype |
| 976 } | 976 } |
| 977 | 977 |
| 978 new WebInspector.Main(); | 978 new WebInspector.Main(); |
| OLD | NEW |