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.WarningErrorCounter(); | 364 new WebInspector.Main.WarningErrorCounter(); |
366 new WebInspector.Main.InspectedNodeRevealer(); | 365 new WebInspector.Main.InspectedNodeRevealer(); |
367 | 366 |
368 this._addMainEventListeners(document); | 367 this._addMainEventListeners(document); |
369 | 368 |
370 var errorWarningCount = document.getElementById("error-warning-count"); | 369 var errorWarningCount = document.getElementById("error-warning-count"); |
371 function showConsole() | 370 function showConsole() |
372 { | 371 { |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 | 885 |
887 WebInspector.Main.InspectedNodeRevealer.prototype = { | 886 WebInspector.Main.InspectedNodeRevealer.prototype = { |
888 /** | 887 /** |
889 * @param {!WebInspector.Event} event | 888 * @param {!WebInspector.Event} event |
890 */ | 889 */ |
891 _inspectNode: function(event) | 890 _inspectNode: function(event) |
892 { | 891 { |
893 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); | 892 WebInspector.Revealer.reveal(/** @type {!WebInspector.DOMNode} */ (event
.data)); |
894 } | 893 } |
895 } | 894 } |
OLD | NEW |