| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 this.sidebarPanes.scopechain = new WebInspector.ScopeChainSidebarPane(); | 83 this.sidebarPanes.scopechain = new WebInspector.ScopeChainSidebarPane(); |
| 84 if (Runtime.experiments.isEnabled("serviceWorkersInPageFrontend")) | 84 if (Runtime.experiments.isEnabled("serviceWorkersInPageFrontend")) |
| 85 this.sidebarPanes.serviceWorkers = new WebInspector.ServiceWorkersSideba
rPane(); | 85 this.sidebarPanes.serviceWorkers = new WebInspector.ServiceWorkersSideba
rPane(); |
| 86 this.sidebarPanes.jsBreakpoints = new WebInspector.JavaScriptBreakpointsSide
barPane(WebInspector.breakpointManager, this.showUISourceCode.bind(this)); | 86 this.sidebarPanes.jsBreakpoints = new WebInspector.JavaScriptBreakpointsSide
barPane(WebInspector.breakpointManager, this.showUISourceCode.bind(this)); |
| 87 this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.cr
eateProxy(this); | 87 this.sidebarPanes.domBreakpoints = WebInspector.domBreakpointsSidebarPane.cr
eateProxy(this); |
| 88 this.sidebarPanes.xhrBreakpoints = new WebInspector.XHRBreakpointsSidebarPan
e(); | 88 this.sidebarPanes.xhrBreakpoints = new WebInspector.XHRBreakpointsSidebarPan
e(); |
| 89 this.sidebarPanes.eventListenerBreakpoints = new WebInspector.EventListenerB
reakpointsSidebarPane(); | 89 this.sidebarPanes.eventListenerBreakpoints = new WebInspector.EventListenerB
reakpointsSidebarPane(); |
| 90 if (Runtime.experiments.isEnabled("stepIntoAsync")) | 90 if (Runtime.experiments.isEnabled("stepIntoAsync")) |
| 91 this.sidebarPanes.asyncOperationBreakpoints = new WebInspector.AsyncOper
ationsSidebarPane(); | 91 this.sidebarPanes.asyncOperationBreakpoints = new WebInspector.AsyncOper
ationsSidebarPane(); |
| 92 | 92 |
| 93 this._lastSelectedTabSetting = WebInspector.settings.createSetting("lastSele
ctedSourcesSidebarPaneTab", this.sidebarPanes.scopechain.title()); | 93 this._lastSelectedTabSetting = WebInspector.settings.createLocalSetting("las
tSelectedSourcesSidebarPaneTab", this.sidebarPanes.scopechain.title()); |
| 94 | 94 |
| 95 this._installDebuggerSidebarController(); | 95 this._installDebuggerSidebarController(); |
| 96 | 96 |
| 97 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve
nts.DockSideChanged, this._dockSideChanged.bind(this)); | 97 WebInspector.dockController.addEventListener(WebInspector.DockController.Eve
nts.DockSideChanged, this._dockSideChanged.bind(this)); |
| 98 WebInspector.moduleSetting("splitVerticallyWhenDockedToRight").addChangeList
ener(this._dockSideChanged.bind(this)); | 98 WebInspector.moduleSetting("splitVerticallyWhenDockedToRight").addChangeList
ener(this._dockSideChanged.bind(this)); |
| 99 this._dockSideChanged(); | 99 this._dockSideChanged(); |
| 100 | 100 |
| 101 this._updateDebuggerButtons(); | 101 this._updateDebuggerButtons(); |
| 102 this._pauseOnExceptionEnabledChanged(); | 102 this._pauseOnExceptionEnabledChanged(); |
| 103 WebInspector.moduleSetting("pauseOnExceptionEnabled").addChangeListener(this
._pauseOnExceptionEnabledChanged, this); | 103 WebInspector.moduleSetting("pauseOnExceptionEnabled").addChangeListener(this
._pauseOnExceptionEnabledChanged, this); |
| (...skipping 1313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1417 WebInspector.SourcesPanelFactory.prototype = { | 1417 WebInspector.SourcesPanelFactory.prototype = { |
| 1418 /** | 1418 /** |
| 1419 * @override | 1419 * @override |
| 1420 * @return {!WebInspector.Panel} | 1420 * @return {!WebInspector.Panel} |
| 1421 */ | 1421 */ |
| 1422 createPanel: function() | 1422 createPanel: function() |
| 1423 { | 1423 { |
| 1424 return WebInspector.SourcesPanel.instance(); | 1424 return WebInspector.SourcesPanel.instance(); |
| 1425 } | 1425 } |
| 1426 } | 1426 } |
| OLD | NEW |