Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js

Issue 2625223002: [DevTools] Dedicated frontend for debugging Node. (Closed)
Patch Set: test fix Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
index ba2ade0b7863001cbfe64aa2d178a7e7957e8785..85c10d5f8ca67698c9b6bc00d3e87c17ff12dd4d 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js
@@ -117,7 +117,8 @@ Sources.SourcesPanel = class extends UI.Panel {
SDK.DebuggerModel, SDK.DebuggerModel.Events.GlobalObjectCleared,
(event) => this._debuggerResumed(/** @type {!SDK.DebuggerModel} */ (event.data)));
SDK.targetManager.addModelListener(
- SDK.SubTargetsManager, SDK.SubTargetsManager.Events.PendingTargetAdded, this._pendingTargetAdded, this);
+ SDK.SubTargetsManager, SDK.SubTargetsManager.Events.AvailableNodeTargetsChanged,
+ this._availableNodeTargetsChanged, this);
new Sources.WorkspaceMappingTip(this, this._workspace);
Extensions.extensionServer.addEventListener(
Extensions.ExtensionServer.Events.SidebarPaneAdded, this._extensionSidebarPaneAdded, this);
@@ -170,7 +171,7 @@ Sources.SourcesPanel = class extends UI.Panel {
targetRemoved(target) {
}
- _pendingTargetAdded() {
+ _availableNodeTargetsChanged() {
this._showThreadsIfNeeded();
}

Powered by Google App Engine
This is Rietveld 408576698