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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 new WebInspector.OverlayController(); | 221 new WebInspector.OverlayController(); |
222 new WebInspector.ContentScriptProjectDecorator(); | 222 new WebInspector.ContentScriptProjectDecorator(); |
223 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); | 223 new WebInspector.ExecutionContextSelector(WebInspector.targetManager, We
bInspector.context); |
224 | 224 |
225 var autoselectPanel = WebInspector.UIString("auto"); | 225 var autoselectPanel = WebInspector.UIString("auto"); |
226 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 226 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
227 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 227 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
228 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 228 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
229 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 229 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
230 | 230 |
231 new WebInspector.WorkspaceController(WebInspector.workspace); | |
232 new WebInspector.Main.PauseListener(); | 231 new WebInspector.Main.PauseListener(); |
233 new WebInspector.Main.InspectedNodeRevealer(); | 232 new WebInspector.Main.InspectedNodeRevealer(); |
234 new WebInspector.NetworkPanelIndicator(); | 233 new WebInspector.NetworkPanelIndicator(); |
235 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); | 234 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); |
236 | 235 |
237 WebInspector.actionRegistry = new WebInspector.ActionRegistry(); | 236 WebInspector.actionRegistry = new WebInspector.ActionRegistry(); |
238 WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebIns
pector.actionRegistry, document); | 237 WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebIns
pector.actionRegistry, document); |
239 WebInspector.ShortcutsScreen.registerShortcuts(); | 238 WebInspector.ShortcutsScreen.registerShortcuts(); |
240 this._registerForwardedShortcuts(); | 239 this._registerForwardedShortcuts(); |
241 this._registerMessageSinkListener(); | 240 this._registerMessageSinkListener(); |
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 */ | 1082 */ |
1084 willHide: function() | 1083 willHide: function() |
1085 { | 1084 { |
1086 this._hideCallback.call(null); | 1085 this._hideCallback.call(null); |
1087 }, | 1086 }, |
1088 | 1087 |
1089 __proto__: WebInspector.VBox.prototype | 1088 __proto__: WebInspector.VBox.prototype |
1090 } | 1089 } |
1091 | 1090 |
1092 new WebInspector.Main(); | 1091 new WebInspector.Main(); |
OLD | NEW |