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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fixes Created 3 years, 11 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/sources/OpenResourceDialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
index 12ea268d1042c2c11f8a8e23bfb008f19108e966..122a5a352ef5fce8592beb11c2512420996d8955 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/OpenResourceDialog.js
@@ -28,7 +28,7 @@ Sources.OpenResourceDialog = class extends Sources.FilteredUISourceCodeListDeleg
static show(sourcesView, query, defaultScores, history) {
var dialog = new Sources.OpenResourceDialog(sourcesView, defaultScores, history);
Sources.OpenResourceDialog._instanceForTest = dialog;
- var filteredItemSelectionDialog = new UI.FilteredListWidget(dialog);
+ var filteredItemSelectionDialog = new QuickOpen.FilteredListWidget(dialog);
filteredItemSelectionDialog.showAsDialog();
filteredItemSelectionDialog.setQuery(query);
}
@@ -97,7 +97,7 @@ Sources.SelectUISourceCodeForProjectTypesDialog = class extends Sources.Filtered
*/
static show(name, types, callback) {
var filteredItemSelectionDialog =
- new UI.FilteredListWidget(new Sources.SelectUISourceCodeForProjectTypesDialog(types, callback));
+ new QuickOpen.FilteredListWidget(new Sources.SelectUISourceCodeForProjectTypesDialog(types, callback));
filteredItemSelectionDialog.showAsDialog();
filteredItemSelectionDialog.setQuery(name);
}

Powered by Google App Engine
This is Rietveld 408576698