Index: Source/devtools/front_end/SourcesPanel.js |
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js |
index f162e6df162f6e920eaae8ce8cee6da904b97a21..f44afe2487d91ec0a51150cef5d0a0f2b978d662 100644 |
--- a/Source/devtools/front_end/SourcesPanel.js |
+++ b/Source/devtools/front_end/SourcesPanel.js |
@@ -1855,3 +1855,21 @@ WebInspector.SourcesPanel.EditorAction.prototype = { |
*/ |
button: function(panel) { } |
} |
+ |
+/** |
+ * @constructor |
+ * @implements {WebInspector.ActionDelegate} |
+ */ |
+WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate = function() {} |
+ |
+WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { |
+ /** |
+ * @param {!KeyboardEvent=} event |
+ * @return {boolean} |
+ */ |
+ handleAction: function(event) |
+ { |
+ /** @type {!WebInspector.SourcesPanel} */ (WebInspector.showPanel("sources")).showGoToSourceDialog(); |
+ return true; |
+ } |
+} |