| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 WebInspector.shortcutsScreen.section(WebInspector.UIString("Debugger")); | 165 WebInspector.shortcutsScreen.section(WebInspector.UIString("Debugger")); |
| 166 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); | 166 WebInspector.shortcutsScreen.section(WebInspector.UIString("Console")); |
| 167 | 167 |
| 168 WebInspector.fileManager = new WebInspector.FileManager(); | 168 WebInspector.fileManager = new WebInspector.FileManager(); |
| 169 WebInspector.workspace = new WebInspector.Workspace(); | 169 WebInspector.workspace = new WebInspector.Workspace(); |
| 170 WebInspector.formatterWorkerPool = new WebInspector.FormatterWorkerPool(
); | 170 WebInspector.formatterWorkerPool = new WebInspector.FormatterWorkerPool(
); |
| 171 WebInspector.fileSystemMapping = new WebInspector.FileSystemMapping(); | 171 WebInspector.fileSystemMapping = new WebInspector.FileSystemMapping(); |
| 172 | 172 |
| 173 var fileSystemWorkspaceBinding = new WebInspector.FileSystemWorkspaceBin
ding(WebInspector.isolatedFileSystemManager, WebInspector.workspace); | 173 var fileSystemWorkspaceBinding = new WebInspector.FileSystemWorkspaceBin
ding(WebInspector.isolatedFileSystemManager, WebInspector.workspace); |
| 174 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect
or.targetManager, WebInspector.workspace, fileSystemWorkspaceBinding, WebInspect
or.fileSystemMapping); | 174 WebInspector.networkMapping = new WebInspector.NetworkMapping(WebInspect
or.targetManager, WebInspector.workspace, fileSystemWorkspaceBinding, WebInspect
or.fileSystemMapping); |
| 175 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana
ger(WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapp
ing); | 175 WebInspector.networkProjectManager = new WebInspector.NetworkProjectMana
ger(WebInspector.targetManager, WebInspector.workspace); |
| 176 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present
ationConsoleMessageHelper(WebInspector.workspace); | 176 WebInspector.presentationConsoleMessageHelper = new WebInspector.Present
ationConsoleMessageHelper(WebInspector.workspace); |
| 177 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping)
; | 177 WebInspector.cssWorkspaceBinding = new WebInspector.CSSWorkspaceBinding(
WebInspector.targetManager, WebInspector.workspace, WebInspector.networkMapping)
; |
| 178 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping); | 178 WebInspector.debuggerWorkspaceBinding = new WebInspector.DebuggerWorkspa
ceBinding(WebInspector.targetManager, WebInspector.workspace, WebInspector.netwo
rkMapping); |
| 179 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null
, WebInspector.workspace, WebInspector.networkMapping, WebInspector.targetManage
r, WebInspector.debuggerWorkspaceBinding); | 179 WebInspector.breakpointManager = new WebInspector.BreakpointManager(null
, WebInspector.workspace, WebInspector.targetManager, WebInspector.debuggerWorks
paceBinding); |
| 180 WebInspector.extensionServer = new WebInspector.ExtensionServer(); | 180 WebInspector.extensionServer = new WebInspector.ExtensionServer(); |
| 181 | 181 |
| 182 WebInspector.persistence = new WebInspector.Persistence(WebInspector.wor
kspace, WebInspector.breakpointManager, WebInspector.fileSystemMapping); | 182 WebInspector.persistence = new WebInspector.Persistence(WebInspector.wor
kspace, WebInspector.breakpointManager, WebInspector.fileSystemMapping); |
| 183 | 183 |
| 184 new WebInspector.OverlayController(); | 184 new WebInspector.OverlayController(); |
| 185 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); | 185 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); |
| 186 WebInspector.blackboxManager = new WebInspector.BlackboxManager(WebInspe
ctor.debuggerWorkspaceBinding, WebInspector.networkMapping); | 186 WebInspector.blackboxManager = new WebInspector.BlackboxManager(WebInspe
ctor.debuggerWorkspaceBinding); |
| 187 | 187 |
| 188 var autoselectPanel = WebInspector.UIString("auto"); | 188 var autoselectPanel = WebInspector.UIString("auto"); |
| 189 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 189 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
| 190 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 190 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
| 191 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 191 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
| 192 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 192 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
| 193 | 193 |
| 194 new WebInspector.Main.PauseListener(); | 194 new WebInspector.Main.PauseListener(); |
| 195 new WebInspector.Main.InspectedNodeRevealer(); | 195 new WebInspector.Main.InspectedNodeRevealer(); |
| 196 new WebInspector.NetworkPanelIndicator(); | 196 new WebInspector.NetworkPanelIndicator(); |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1106 * @override | 1106 * @override |
| 1107 * @return {?Element} | 1107 * @return {?Element} |
| 1108 */ | 1108 */ |
| 1109 settingElement: function() | 1109 settingElement: function() |
| 1110 { | 1110 { |
| 1111 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); | 1111 return WebInspector.SettingsUI.createSettingCheckbox(WebInspector.UIStri
ng("Show rulers"), WebInspector.moduleSetting("showMetricsRulers")); |
| 1112 } | 1112 } |
| 1113 } | 1113 } |
| 1114 | 1114 |
| 1115 new WebInspector.Main(); | 1115 new WebInspector.Main(); |
| OLD | NEW |