Index: Source/devtools/front_end/SourcesPanel.js |
diff --git a/Source/devtools/front_end/SourcesPanel.js b/Source/devtools/front_end/SourcesPanel.js |
index 1c131b4043d73dbc2f751923b8d803114b9bb834..4b7f0f27ae81204240d5142109986b1d323f1a8c 100644 |
--- a/Source/devtools/front_end/SourcesPanel.js |
+++ b/Source/devtools/front_end/SourcesPanel.js |
@@ -1165,3 +1165,36 @@ WebInspector.SourcesPanel.UILocationRevealer.prototype = { |
/** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.panel("sources")).showUILocation(uiLocation); |
} |
} |
+ |
+/** |
+ * @interface |
+ */ |
+WebInspector.SourcesPanel.EditorAction = function() |
pfeldman
2014/03/24 16:54:22
Poor merge
apavlov
2014/03/25 10:03:45
Done.
|
+{ |
+} |
+ |
+WebInspector.SourcesPanel.EditorAction.prototype = { |
+ /** |
+ * @param {!WebInspector.SourcesPanel} panel |
+ * @return {!Element} |
+ */ |
+ 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.inspectorView.showPanel("sources")).showGoToSourceDialog(); |
+ return true; |
+ } |
+} |