| 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); | 341 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); |
| 342 | 342 |
| 343 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); | 343 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); |
| 344 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 344 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
| 345 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 345 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
| 346 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 346 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
| 347 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 347 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
| 348 | 348 |
| 349 new WebInspector.WorkspaceController(WebInspector.workspace); | 349 new WebInspector.WorkspaceController(WebInspector.workspace); |
| 350 | 350 |
| 351 WebInspector.liveEditSupport = new WebInspector.LiveEditSupport(WebInspe
ctor.workspace); | |
| 352 new WebInspector.CSSStyleSheetMapping(WebInspector.cssModel, WebInspecto
r.workspace, WebInspector.networkWorkspaceBinding); | 351 new WebInspector.CSSStyleSheetMapping(WebInspector.cssModel, WebInspecto
r.workspace, WebInspector.networkWorkspaceBinding); |
| 353 | 352 |
| 354 // Create settings before loading modules. | 353 // Create settings before loading modules. |
| 355 WebInspector.settings.initializeBackendSettings(); | 354 WebInspector.settings.initializeBackendSettings(); |
| 356 | 355 |
| 357 this._registerModules(); | 356 this._registerModules(); |
| 358 WebInspector.actionRegistry = new WebInspector.ActionRegistry(); | 357 WebInspector.actionRegistry = new WebInspector.ActionRegistry(); |
| 359 WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebIns
pector.actionRegistry); | 358 WebInspector.shortcutRegistry = new WebInspector.ShortcutRegistry(WebIns
pector.actionRegistry); |
| 360 this._registerForwardedShortcuts(); | 359 this._registerForwardedShortcuts(); |
| 361 this._registerMessageSinkListener(); | 360 this._registerMessageSinkListener(); |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 821 }); | 820 }); |
| 822 | 821 |
| 823 /** | 822 /** |
| 824 * @param {string} name | 823 * @param {string} name |
| 825 * @return {?WebInspector.Panel} | 824 * @return {?WebInspector.Panel} |
| 826 */ | 825 */ |
| 827 WebInspector.panel = function(name) | 826 WebInspector.panel = function(name) |
| 828 { | 827 { |
| 829 return WebInspector.inspectorView.panel(name); | 828 return WebInspector.inspectorView.panel(name); |
| 830 } | 829 } |
| OLD | NEW |