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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js

Issue 2372663004: DevTools: Replace multiline InplaceEditor with CodeMirrorTextEditor (Closed)
Patch Set: resize width Created 3 years, 10 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/elements/ElementsTreeOutline.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
index adc793d4f02e12b9679c73c0585e5405dfa534c7..acdbce664b92f83d42c97284f819ebf967fa6be9 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeOutline.js
@@ -127,7 +127,7 @@ Elements.ElementsTreeOutline = class extends UI.TreeOutline {
}
/**
- * @param {?UI.InplaceEditor.Controller} multilineEditing
+ * @param {?Elements.MultilineEditorController} multilineEditing
*/
setMultilineEditing(multilineEditing) {
this._multilineEditing = multilineEditing;
@@ -146,7 +146,7 @@ Elements.ElementsTreeOutline = class extends UI.TreeOutline {
setVisibleWidth(width) {
this._visibleWidth = width;
if (this._multilineEditing)
- this._multilineEditing.setWidth(this._visibleWidth);
+ this._multilineEditing.resize();
}
/**

Powered by Google App Engine
This is Rietveld 408576698