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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 screen.showModal(); | 352 screen.showModal(); |
353 } | 353 } |
354 | 354 |
355 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); | 355 WebInspector.domBreakpointsSidebarPane = new WebInspector.DOMBreakpoints
SidebarPane(); |
356 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); | 356 var autoselectPanel = WebInspector.UIString("a panel chosen automaticall
y"); |
357 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); | 357 var openAnchorLocationSetting = WebInspector.settings.createSetting("ope
nLinkHandler", autoselectPanel); |
358 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); | 358 WebInspector.openAnchorLocationRegistry = new WebInspector.HandlerRegist
ry(openAnchorLocationSetting); |
359 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); | 359 WebInspector.openAnchorLocationRegistry.registerHandler(autoselectPanel,
function() { return false; }); |
360 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); | 360 WebInspector.Linkifier.setLinkHandler(new WebInspector.HandlerRegistry.L
inkHandler()); |
361 new WebInspector.WorkspaceController(WebInspector.workspace); | 361 new WebInspector.WorkspaceController(WebInspector.workspace); |
362 new WebInspector.CSSStyleSheetMapping(WebInspector.cssModel, WebInspecto
r.workspace, WebInspector.networkWorkspaceBinding); | |
363 new WebInspector.RenderingOptions(); | 362 new WebInspector.RenderingOptions(); |
364 new WebInspector.Main.PauseListener(); | 363 new WebInspector.Main.PauseListener(); |
365 new WebInspector.Main.InspectedNodeRevealer(); | 364 new WebInspector.Main.InspectedNodeRevealer(); |
366 | 365 |
367 this._addMainEventListeners(document); | 366 this._addMainEventListeners(document); |
368 | 367 |
369 WebInspector.extensionServerProxy.setFrontendReady(); | 368 WebInspector.extensionServerProxy.setFrontendReady(); |
370 | 369 |
371 InspectorAgent.enable(inspectorAgentEnableCallback); | 370 InspectorAgent.enable(inspectorAgentEnableCallback); |
372 | 371 |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 | 898 |
900 WebInspector.Main.InspectedNodeRevealer.prototype = { | 899 WebInspector.Main.InspectedNodeRevealer.prototype = { |
901 /** | 900 /** |
902 * @param {!WebInspector.Event} event | 901 * @param {!WebInspector.Event} event |
903 */ | 902 */ |
904 _inspectNode: function(event) | 903 _inspectNode: function(event) |
905 { | 904 { |
906 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 905 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
907 } | 906 } |
908 } | 907 } |
OLD | NEW |