Index: Source/devtools/front_end/SourcesPanel.js |
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js |
index 460b287fc0802e575b8c47f947970490365e944c..a10ebfd7e3a2a441a91c7de5d4551afdc78a209c 100644 |
--- a/Source/devtools/front_end/SourcesPanel.js |
+++ b/Source/devtools/front_end/SourcesPanel.js |
@@ -1221,3 +1221,20 @@ WebInspector.SourcesPanel.UILocationRevealer.prototype = { |
/** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.panel("sources")).showUILocation(uiLocation); |
} |
} |
+ |
+/** |
+ * @constructor |
+ * @implements {WebInspector.ActionDelegate} |
+ */ |
+WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate = function() {} |
+ |
+WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { |
+ /** |
+ * @return {boolean} |
+ */ |
+ handleAction: function() |
+ { |
+ /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.showPanel("sources")).showGoToSourceDialog(); |
+ return true; |
+ } |
+} |