Index: Source/devtools/front_end/TextEditor.js |
diff --git a/Source/devtools/front_end/TextEditor.js b/Source/devtools/front_end/TextEditor.js |
index 5111163572b6c5db6870c0774a8b6a281f87af94..9d6400b20bb1f3ca92653d0f9b0e4f6296981cf1 100644 |
--- a/Source/devtools/front_end/TextEditor.js |
+++ b/Source/devtools/front_end/TextEditor.js |
@@ -287,6 +287,26 @@ WebInspector.TextEditor.prototype = { |
/** |
* @interface |
*/ |
+WebInspector.TextEditorPositionHandler = function() |
+{ |
+} |
+ |
+WebInspector.TextEditorPositionHandler.prototype = { |
+ /** |
+ * @return {?{lineNumber: number, columnNumber: number}} |
+ */ |
+ resolve: function() { }, |
+ |
+ /** |
+ * @param {WebInspector.TextEditorPositionHandler} positionHandle |
+ * @return {boolean} |
+ */ |
+ equal: function(positionHandle) { } |
+} |
+ |
+/** |
+ * @interface |
+ */ |
WebInspector.TextEditorDelegate = function() |
{ |
} |
@@ -327,5 +347,11 @@ WebInspector.TextEditorDelegate.prototype = { |
* @param {boolean} isExternal |
* @return {Element} |
*/ |
- createLink: function(hrefValue, isExternal) { } |
+ createLink: function(hrefValue, isExternal) { }, |
+ |
+ /** |
+ * @param {WebInspector.TextEditorPositionHandler} from |
+ * @param {WebInspector.TextEditorPositionHandler} to |
+ */ |
+ onJumpToPosition: function(from, to) { } |
} |