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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js

Issue 2769843003: DevTools: split text_utils out of common module (Closed)
Patch Set: rebaseline Created 3 years, 9 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/ui/TextEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
index d1189e68f2f0046637c001bca8e138fe2872bed6..d1259b6b47a070fb533e520953ccd5b125a886ae 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
@@ -27,22 +27,22 @@ UI.TextEditor.prototype = {
widget() {},
/**
- * @return {!Common.TextRange}
+ * @return {!TextUtils.TextRange}
*/
fullRange() {},
/**
- * @return {!Common.TextRange}
+ * @return {!TextUtils.TextRange}
*/
selection() {},
/**
- * @param {!Common.TextRange} selection
+ * @param {!TextUtils.TextRange} selection
*/
setSelection(selection) {},
/**
- * @param {!Common.TextRange=} textRange
+ * @param {!TextUtils.TextRange=} textRange
* @return {string}
*/
text(textRange) {},
@@ -94,8 +94,8 @@ UI.TextEditor.Options;
/**
* @typedef {{
- * substituteRangeCallback: ((function(number, number):?Common.TextRange)|undefined),
- * suggestionsCallback: ((function(!Common.TextRange, !Common.TextRange, boolean=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined),
+ * substituteRangeCallback: ((function(number, number):?TextUtils.TextRange)|undefined),
+ * suggestionsCallback: ((function(!TextUtils.TextRange, !TextUtils.TextRange, boolean=):?Promise.<!UI.SuggestBox.Suggestions>)|undefined),
* isWordChar: ((function(string):boolean)|undefined),
* captureEnter: (boolean|undefined)
* }}

Powered by Google App Engine
This is Rietveld 408576698