| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 this.sidebarPanes = {}; | 78 this.sidebarPanes = {}; |
| 79 this.sidebarPanes.threads = new WebInspector.ThreadsSidebarPane(); | 79 this.sidebarPanes.threads = new WebInspector.ThreadsSidebarPane(); |
| 80 this.sidebarPanes.watchExpressions = new WebInspector.WatchExpressionsSideba
rPane(); | 80 this.sidebarPanes.watchExpressions = new WebInspector.WatchExpressionsSideba
rPane(); |
| 81 this.sidebarPanes.callstack = new WebInspector.CallStackSidebarPane(); | 81 this.sidebarPanes.callstack = new WebInspector.CallStackSidebarPane(); |
| 82 this.sidebarPanes.callstack.addEventListener(WebInspector.CallStackSidebarPa
ne.Events.CallFrameSelected, this._callFrameSelectedInSidebar.bind(this)); | 82 this.sidebarPanes.callstack.addEventListener(WebInspector.CallStackSidebarPa
ne.Events.CallFrameSelected, this._callFrameSelectedInSidebar.bind(this)); |
| 83 this.sidebarPanes.callstack.addEventListener(WebInspector.CallStackSidebarPa
ne.Events.RevealHiddenCallFrames, this._hiddenCallFramesRevealedInSidebar.bind(t
his)); | 83 this.sidebarPanes.callstack.addEventListener(WebInspector.CallStackSidebarPa
ne.Events.RevealHiddenCallFrames, this._hiddenCallFramesRevealedInSidebar.bind(t
his)); |
| 84 this.sidebarPanes.callstack.registerShortcuts(this.registerShortcuts.bind(th
is)); | 84 this.sidebarPanes.callstack.registerShortcuts(this.registerShortcuts.bind(th
is)); |
| 85 | 85 |
| 86 this.sidebarPanes.scopechain = new WebInspector.ScopeChainSidebarPane(); | 86 this.sidebarPanes.scopechain = new WebInspector.ScopeChainSidebarPane(); |
| 87 this.sidebarPanes.serviceWorkers = new WebInspector.ServiceWorkersSidebarPan
e(); | |
| 88 this.sidebarPanes.jsBreakpoints = new WebInspector.JavaScriptBreakpointsSide
barPane(WebInspector.breakpointManager, this.showUISourceCode.bind(this)); | 87 this.sidebarPanes.jsBreakpoints = new WebInspector.JavaScriptBreakpointsSide
barPane(WebInspector.breakpointManager, this.showUISourceCode.bind(this)); |
| 89 this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.cr
eateProxy(this); | 88 this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.cr
eateProxy(this); |
| 90 this.sidebarPanes.xhrBreakpoints = new WebInspector.XHRBreakpointsSidebarPan
e(); | 89 this.sidebarPanes.xhrBreakpoints = new WebInspector.XHRBreakpointsSidebarPan
e(); |
| 91 this.sidebarPanes.eventListenerBreakpoints = new WebInspector.EventListenerB
reakpointsSidebarPane(); | 90 this.sidebarPanes.eventListenerBreakpoints = new WebInspector.EventListenerB
reakpointsSidebarPane(); |
| 92 this.sidebarPanes.objectEventListeners = new WebInspector.ObjectEventListene
rsSidebarPane(); | 91 this.sidebarPanes.objectEventListeners = new WebInspector.ObjectEventListene
rsSidebarPane(); |
| 93 if (Runtime.experiments.isEnabled("stepIntoAsync")) | 92 if (Runtime.experiments.isEnabled("stepIntoAsync")) |
| 94 this.sidebarPanes.asyncOperationBreakpoints = new WebInspector.AsyncOper
ationsSidebarPane(); | 93 this.sidebarPanes.asyncOperationBreakpoints = new WebInspector.AsyncOper
ationsSidebarPane(); |
| 95 | 94 |
| 96 this._lastSelectedTabSetting = WebInspector.settings.createLocalSetting("las
tSelectedSourcesSidebarPaneTab", this.sidebarPanes.scopechain.title()); | 95 this._lastSelectedTabSetting = WebInspector.settings.createLocalSetting("las
tSelectedSourcesSidebarPaneTab", this.sidebarPanes.scopechain.title()); |
| 97 | 96 |
| (...skipping 1328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1426 WebInspector.SourcesPanelFactory.prototype = { | 1425 WebInspector.SourcesPanelFactory.prototype = { |
| 1427 /** | 1426 /** |
| 1428 * @override | 1427 * @override |
| 1429 * @return {!WebInspector.Panel} | 1428 * @return {!WebInspector.Panel} |
| 1430 */ | 1429 */ |
| 1431 createPanel: function() | 1430 createPanel: function() |
| 1432 { | 1431 { |
| 1433 return WebInspector.SourcesPanel.instance(); | 1432 return WebInspector.SourcesPanel.instance(); |
| 1434 } | 1433 } |
| 1435 } | 1434 } |
| OLD | NEW |