Index: Source/devtools/blink/chromeServerProfile/Default/Cache/f_00006b |
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_00006b |
similarity index 98% |
copy from Source/devtools/front_end/SourcesPanel.js |
copy to Source/devtools/blink/chromeServerProfile/Default/Cache/f_00006b |
index 8a7259bcb3809f44b7bc32682fe5bacccecaf2f6..46a9673c7090949bf4f42715fd1b45e4666c9b89 100644 |
--- a/Source/devtools/front_end/SourcesPanel.js |
+++ b/Source/devtools/blink/chromeServerProfile/Default/Cache/f_00006b |
@@ -37,6 +37,7 @@ importScript("NavigatorView.js"); |
importScript("RevisionHistoryView.js"); |
importScript("ScopeChainSidebarPane.js"); |
importScript("SourcesNavigator.js"); |
+importScript("SourcesSearchScope.js"); |
importScript("StyleSheetOutlineDialog.js"); |
importScript("TabbedEditorContainer.js"); |
importScript("WatchExpressionsSidebarPane.js"); |
@@ -129,7 +130,7 @@ WebInspector.SourcesPanel = function(workspaceForTest) |
this._updateDebuggerButtons(); |
this._pauseOnExceptionEnabledChanged(); |
if (WebInspector.debuggerModel.isPaused()) |
- this._showDebuggerPausedDetails(WebInspector.debuggerModel.debuggerPausedDetails()); |
+ this._showDebuggerPausedDetails(); |
WebInspector.settings.pauseOnExceptionEnabled.addChangeListener(this._pauseOnExceptionEnabledChanged, this); |
WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerWasEnabled, this._debuggerWasEnabled, this); |
@@ -195,27 +196,22 @@ WebInspector.SourcesPanel.prototype = { |
this.sidebarPanes.scopechain.update(WebInspector.debuggerModel.selectedCallFrame()); |
}, |
- /** |
- * @param {!WebInspector.Event} event |
- */ |
- _debuggerPaused: function(event) |
+ _debuggerPaused: function() |
{ |
- var details = /** @type {!WebInspector.DebuggerPausedDetails} */ (event.data); |
WebInspector.inspectorView.setCurrentPanel(this); |
- this._showDebuggerPausedDetails(details); |
+ this._showDebuggerPausedDetails(); |
}, |
- /** |
- * @param {?WebInspector.DebuggerPausedDetails} details |
- */ |
- _showDebuggerPausedDetails: function(details) |
+ _showDebuggerPausedDetails: function() |
{ |
+ var details = WebInspector.debuggerModel.debuggerPausedDetails(); |
+ |
this._paused = true; |
this._waitingToPause = false; |
this._updateDebuggerButtons(); |
- this.sidebarPanes.callstack.update(details); |
+ this.sidebarPanes.callstack.update(details.callFrames, details.asyncStackTrace); |
/** |
* @param {!Element} element |
@@ -427,7 +423,7 @@ WebInspector.SourcesPanel.prototype = { |
_clearInterface: function() |
{ |
- this.sidebarPanes.callstack.update(null); |
+ this.sidebarPanes.callstack.update(null, null); |
this.sidebarPanes.scopechain.update(null); |
this.sidebarPanes.jsBreakpoints.clearBreakpointHighlight(); |
WebInspector.domBreakpointsSidebarPane.clearBreakpointHighlight(); |
@@ -775,7 +771,7 @@ WebInspector.SourcesPanel.prototype = { |
*/ |
function mapFileSystemToNetwork(networkUISourceCode) |
{ |
- this._workspace.addMapping(networkUISourceCode, uiSourceCode, WebInspector.fileSystemWorkspaceBinding); |
+ this._workspace.addMapping(networkUISourceCode, uiSourceCode, WebInspector.fileSystemWorkspaceProvider); |
this._suggestReload(); |
} |
}, |
@@ -804,8 +800,7 @@ WebInspector.SourcesPanel.prototype = { |
*/ |
function mapNetworkToFileSystem(uiSourceCode) |
{ |
- this._workspace.addMapping(networkUISourceCode, uiSourceCode, WebInspector.fileSystemWorkspaceBinding); |
- this._suggestReload(); |
+ this._workspace.addMapping(networkUISourceCode, uiSourceCode, WebInspector.fileSystemWorkspaceProvider); |
} |
}, |