| 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 9c5688aadf842c078fd9aea3e90fc222a1018356..d547137faba0eb60b7b1d53b072ab64943054eb5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js
|
| @@ -15,60 +15,62 @@ UI.TextEditorFactory.prototype = {
|
| };
|
|
|
| /**
|
| - * @interface
|
| + * @abstract
|
| + * @unrestricted
|
| */
|
| -UI.TextEditor = function() {};
|
| -
|
| -UI.TextEditor.prototype = {
|
| -
|
| - /**
|
| - * @return {!UI.Widget}
|
| - */
|
| - widget() {},
|
| -
|
| +UI.TextEditor = class extends UI.Widget {
|
| /**
|
| * @return {!Common.TextRange}
|
| */
|
| - fullRange() {},
|
| + fullRange() {
|
| + }
|
|
|
| /**
|
| * @return {!Common.TextRange}
|
| */
|
| - selection() {},
|
| + selection() {
|
| + }
|
|
|
| /**
|
| * @param {!Common.TextRange} selection
|
| */
|
| - setSelection(selection) {},
|
| + setSelection(selection) {
|
| + }
|
|
|
| /**
|
| * @param {!Common.TextRange=} textRange
|
| * @return {string}
|
| */
|
| - text(textRange) {},
|
| + text(textRange) {
|
| + }
|
|
|
| /**
|
| * @param {string} text
|
| */
|
| - setText(text) {},
|
| + setText(text) {
|
| + }
|
|
|
| /**
|
| * @param {number} lineNumber
|
| * @return {string}
|
| */
|
| - line(lineNumber) {},
|
| + line(lineNumber) {
|
| + }
|
|
|
| - newlineAndIndent() {},
|
| + newlineAndIndent() {
|
| + }
|
|
|
| /**
|
| * @param {function(!KeyboardEvent)} handler
|
| */
|
| - addKeyDownHandler(handler) {},
|
| + addKeyDownHandler(handler) {
|
| + }
|
|
|
| /**
|
| * @param {?UI.AutocompleteConfig} config
|
| */
|
| - configureAutocomplete(config) {},
|
| + configureAutocomplete(config) {
|
| + }
|
|
|
| clearAutocomplete() {}
|
| };
|
|
|