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

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js

Issue 2778873003: DevTools: Convert TextEditor from Interface to Abstract class (Closed)
Patch Set: 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/text_editor/CodeMirrorTextEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
index 41d0d9ba36d49fce89744efb2f175f76520b572d..e51fba872130665a832caf2abe45e7b04efb7a15 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
@@ -28,10 +28,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**
- * @implements {UI.TextEditor}
* @unrestricted
*/
-TextEditor.CodeMirrorTextEditor = class extends UI.VBox {
+TextEditor.CodeMirrorTextEditor = class extends UI.TextEditor {
/**
* @param {!UI.TextEditor.Options} options
*/
@@ -380,14 +379,6 @@ TextEditor.CodeMirrorTextEditor = class extends UI.VBox {
return this._codeMirror;
}
- /**
- * @override
- * @return {!UI.Widget}
- */
- widget() {
- return this;
- }
-
_onKeyHandled() {
UI.shortcutRegistry.dismissPendingShortcutAction();
}

Powered by Google App Engine
This is Rietveld 408576698