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

Unified Diff: third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js

Issue 2706293007: [DevTools] Fix Dialog's close button to properly close dialog. (Closed)
Patch Set: test 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/quick_open/FilteredListWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js b/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js
index d9717f4f9c92dc76170362dda1484de9d7ed2238..be222d573b9dbcbb1037df31651fff56e955ac4f 100644
--- a/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js
@@ -122,7 +122,7 @@ QuickOpen.FilteredListWidget = class extends UI.VBox {
this._dialog.setSizeBehavior(UI.GlassPane.SizeBehavior.SetMaxHeight);
this._dialog.setContentPosition(null, 22);
this.show(this._dialog.contentElement);
- this._dialog.showDialog();
+ this._dialog.show();
this._updateShowMatchingItems();
}
@@ -160,7 +160,7 @@ QuickOpen.FilteredListWidget = class extends UI.VBox {
// Detach dialog before allowing delegate to override focus.
if (this._dialog)
- this._dialog.hideDialog();
+ this._dialog.hide();
this._selectItemWithQuery(selectedIndexInDelegate, this._value());
}
@@ -191,7 +191,7 @@ QuickOpen.FilteredListWidget = class extends UI.VBox {
event.consume(true);
// Detach dialog before allowing delegate to override focus.
if (this._dialog)
- this._dialog.hideDialog();
+ this._dialog.hide();
this._selectItemWithQuery(item, this._value());
}, false);
return itemElement;

Powered by Google App Engine
This is Rietveld 408576698